aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-25 21:58:11 +0000
committerlloyd <[email protected]>2006-06-25 21:58:11 +0000
commit19a8d50845f997fcdbb8e39e90579c0ee030c80c (patch)
tree1a592e4c6815a286bb59974f3739fe5e8508d3ee /include
parentd8f0397fd49f918ab33c680b9db534bc4e577fa1 (diff)
Add a static make_signed function to X509_Object
Diffstat (limited to 'include')
-rw-r--r--include/x509_obj.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/x509_obj.h b/include/x509_obj.h
index f7f110a42..47c95a041 100644
--- a/include/x509_obj.h
+++ b/include/x509_obj.h
@@ -22,6 +22,10 @@ class X509_Object
SecureVector<byte> signature() const;
AlgorithmIdentifier signature_algorithm() const;
+ static MemoryVector<byte> make_signed(class PK_Signer*,
+ const AlgorithmIdentifier&,
+ const MemoryRegion<byte>&);
+
bool check_signature(class X509_PublicKey&) const;
void encode(Pipe&, X509_Encoding = PEM) const;