aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-25 03:41:11 +0000
committerlloyd <[email protected]>2006-06-25 03:41:11 +0000
commit58f2a24de7b6e7cbae80766b39815e4a18df64be (patch)
treed178140839e53c9b315926e501f92ac7f9fb6e58 /include
parent4149ddc0e45c3a4733bb71a335d262ae13af8e0f (diff)
Add a new variant of X509_CA::make_cert that takes an Extensions object,
rather than creating it internally. The older version (still used internally) creates the Extensions object as before and passes it on.
Diffstat (limited to 'include')
-rw-r--r--include/x509_ca.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/x509_ca.h b/include/x509_ca.h
index 75e8ac04b..8dd89755b 100644
--- a/include/x509_ca.h
+++ b/include/x509_ca.h
@@ -38,6 +38,12 @@ class X509_CA
Key_Constraints,
const std::vector<OID>&);
+ static X509_Certificate make_cert(PK_Signer*, const AlgorithmIdentifier&,
+ const MemoryRegion<byte>&,
+ const X509_Time&, const X509_Time&,
+ const X509_DN&, const X509_DN&,
+ const class Extensions&);
+
X509_CA(const X509_Certificate&, const PKCS8_PrivateKey&);
~X509_CA();
private: