diff options
author | lloyd <[email protected]> | 2008-06-11 01:15:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-06-11 01:15:31 +0000 |
commit | 184fe79523ad605ea3c820b83e984362433b2a7a (patch) | |
tree | feca060d82d2e0cbdbddc2f29f00c7b7db682974 /include | |
parent | 7253964aba9ca41a88261557d8cd91df39cd4b88 (diff) |
Modify X509_CA::make_cert and X509_CA::sign_request to take a RNG reference
argument in favor of referencing the global PRNG argument
Diffstat (limited to 'include')
-rw-r--r-- | include/x509_ca.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/x509_ca.h b/include/x509_ca.h index 1f0e35261..7d4e21748 100644 --- a/include/x509_ca.h +++ b/include/x509_ca.h @@ -22,6 +22,7 @@ class BOTAN_DLL X509_CA { public: X509_Certificate sign_request(const PKCS10_Request& req, + RandomNumberGenerator& rng, const X509_Time& not_before, const X509_Time& not_after); @@ -32,6 +33,7 @@ class BOTAN_DLL X509_CA u32bit = 0) const; static X509_Certificate make_cert(PK_Signer*, + RandomNumberGenerator&, const AlgorithmIdentifier&, const MemoryRegion<byte>&, const X509_Time&, const X509_Time&, |