aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <lloyd@randombit.net>2008-06-11 01:20:24 +0000
committerlloyd <lloyd@randombit.net>2008-06-11 01:20:24 +0000
commit4416c1a5dfa4a6dc71ec15107de290b3d5606bb1 (patch)
tree301787680ee49de3ee864bce1031521736fb3e44 /include
parent184fe79523ad605ea3c820b83e984362433b2a7a (diff)
X509::create_cert_req and X509::create_self_signed_cert take an RNG ref
Diffstat (limited to 'include')
-rw-r--r--include/x509self.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/x509self.h b/include/x509self.h
index 8f3308492..2f83a12be 100644
--- a/include/x509self.h
+++ b/include/x509self.h
@@ -56,14 +56,17 @@ namespace X509 {
/*************************************************
* Create a self-signed X.509 certificate *
*************************************************/
-BOTAN_DLL X509_Certificate create_self_signed_cert(const X509_Cert_Options&,
- const Private_Key&);
+BOTAN_DLL X509_Certificate
+create_self_signed_cert(const X509_Cert_Options&,
+ const Private_Key&,
+ RandomNumberGenerator& rng);
/*************************************************
* Create a PKCS #10 certificate request *
*************************************************/
BOTAN_DLL PKCS10_Request create_cert_req(const X509_Cert_Options&,
- const Private_Key&);
+ const Private_Key&,
+ RandomNumberGenerator& rng);
}