|
Botan
1.10.16
|
Functions | |
| EAC1_1_ADO | create_ado_req (Private_Key const &key, EAC1_1_Req const &req, ASN1_Car const &car, RandomNumberGenerator &rng) |
| EAC1_1_Req | create_cvc_req (Private_Key const &key, ASN1_Chr const &chr, std::string const &hash_alg, RandomNumberGenerator &rng) |
| EAC1_1_CVC | create_self_signed_cert (Private_Key const &key, EAC1_1_CVC_Options const &opt, RandomNumberGenerator &rng) |
This namespace represents general EAC 1.1 convenience functions.
| EAC1_1_ADO BOTAN_DLL Botan::CVC_EAC::create_ado_req | ( | Private_Key const & | priv_key, |
| EAC1_1_Req const & | req, | ||
| ASN1_Car const & | car, | ||
| RandomNumberGenerator & | rng | ||
| ) |
Create an ADO from a request object.
| priv_key | the private key used to sign the ADO |
| req | the request forming the body of the ADO |
| car | the CAR forming the body of the ADO, i.e. the CHR of the entity associated with the provided private key |
| rng | the rng to use |
Definition at line 156 of file cvc_self.cpp.
| EAC1_1_Req BOTAN_DLL Botan::CVC_EAC::create_cvc_req | ( | Private_Key const & | priv_key, |
| ASN1_Chr const & | chr, | ||
| std::string const & | hash_alg, | ||
| RandomNumberGenerator & | rng | ||
| ) |
Create a CVC request. The key encoding will be according to the provided private key.
| priv_key | the private key associated with the requesting entity |
| chr | the chr to appear in the certificate (to be provided without sequence number) |
| hash_alg | the string defining the hash algorithm to be used for the creation of the signature |
| rng | the rng to use |
Definition at line 119 of file cvc_self.cpp.
| EAC1_1_CVC BOTAN_DLL Botan::CVC_EAC::create_self_signed_cert | ( | Private_Key const & | key, |
| EAC1_1_CVC_Options const & | opts, | ||
| RandomNumberGenerator & | rng | ||
| ) |
Create a selfsigned CVCA
| rng | the rng to use |
| key | the ECDSA private key to be used to sign the certificate |
| opts | used to set several parameters. Necessary are: car, holder_auth_templ, hash_alg, ced, cex and hash_alg |
Definition at line 90 of file cvc_self.cpp.
1.8.13