diff options
author | lloyd <[email protected]> | 2008-10-08 21:08:06 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-08 21:08:06 +0000 |
commit | 832dfea7d8d664ee186f94213185c51047ea6cfa (patch) | |
tree | 392121f7bb1e4f3e84b5ae0aa395d88b87298065 /src/cert/cvc/cvc_self.h | |
parent | 0ffb4257258df236dc469ef086b1871fe7b5afba (diff) |
Fix further compilation errors. However some functionality is disabled since
ECDSA keys do not support the EAC serialization mechanism yet.
Diffstat (limited to 'src/cert/cvc/cvc_self.h')
-rw-r--r-- | src/cert/cvc/cvc_self.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cert/cvc/cvc_self.h b/src/cert/cvc/cvc_self.h index c2eaf9737..608d93af8 100644 --- a/src/cert/cvc/cvc_self.h +++ b/src/cert/cvc/cvc_self.h @@ -46,7 +46,8 @@ namespace CVC_EAC */ EAC1_1_CVC create_self_signed_cert(Private_Key const& key, - EAC1_1_CVC_Options const& opts); + EAC1_1_CVC_Options const& opts, + RandomNumberGenerator& rng); /** * Create a CVC request. The key encoding will be according to the provided private key. * @param priv_key the private key associated with the requesting entity @@ -107,7 +108,8 @@ EAC1_1_CVC create_cvca(Private_Key const& priv_key, */ EAC1_1_CVC link_cvca(EAC1_1_CVC const& signer, Private_Key const& priv_key, - EAC1_1_CVC const& to_be_signed); + EAC1_1_CVC const& to_be_signed, + RandomNumberGenerator& rng); /** * Create a CVC request. The key encoding will be implicitCA. @@ -139,7 +141,8 @@ EAC1_1_CVC sign_request(EAC1_1_CVC const& signer_cert, EAC1_1_Req const& req, u32bit seqnr, u32bit seqnr_len, - bool domestic); + bool domestic, + RandomNumberGenerator& rng); } } |