diff options
author | lloyd <[email protected]> | 2008-10-08 21:17:05 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-08 21:17:05 +0000 |
commit | 1e974f7821d46ae4a4230e202195f156e046a3da (patch) | |
tree | 62ff67ebc84f7d1a29d39e620859daa6510c4ba9 /src/cert/cvc/cvc_self.h | |
parent | fd710936ca8a3495b838404ca02a3ace62ba4a5d (diff) |
Replace uses of global_config with arguments to functions
Diffstat (limited to 'src/cert/cvc/cvc_self.h')
-rw-r--r-- | src/cert/cvc/cvc_self.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/cert/cvc/cvc_self.h b/src/cert/cvc/cvc_self.h index a03d9e885..16bcf38da 100644 --- a/src/cert/cvc/cvc_self.h +++ b/src/cert/cvc/cvc_self.h @@ -59,7 +59,8 @@ EAC1_1_CVC create_self_signed_cert(Private_Key const& key, */ EAC1_1_Req create_cvc_req(Private_Key const& priv_key, ASN1_Chr const& chr, - std::string const& hash_alg); + std::string const& hash_alg, + RandomNumberGenerator& rng); /** * Create an ADO from a request object. @@ -97,6 +98,7 @@ EAC1_1_CVC create_cvca(Private_Key const& priv_key, ASN1_Car const& car, bool iris, bool fingerpr, + u32bit cvca_validity_months, RandomNumberGenerator& rng); /** @@ -126,7 +128,8 @@ EAC1_1_CVC link_cvca(EAC1_1_CVC const& signer, */ EAC1_1_Req create_cvc_req(Private_Key const& priv_key, ASN1_Chr const& chr, - std::string const& hash_alg); + std::string const& hash_alg, + RandomNumberGenerator& rng); /** * Sign a CVC request. @@ -148,6 +151,8 @@ EAC1_1_CVC sign_request(EAC1_1_CVC const& signer_cert, u32bit seqnr, u32bit seqnr_len, bool domestic, + u32bit dvca_validity_months, + u32bit ca_is_validity_months, RandomNumberGenerator& rng); } |