OpenPACE
|
Context for the Chip Authentication protocol. More...
#include <eac.h>
Data Fields | |
unsigned char | version |
(currently unused) Version of the CA protocol, MUST be 1 or 2 | |
int | protocol |
Identifier of the protocol's OID specifying the exact CA parameters to use. More... | |
int | id |
identifier of this CA context | |
int | flags |
Flags to control some of the behaviour of the CA. More... | |
KA_CTX * | ka_ctx |
Key agreement object used with the PICC's private key. | |
X509_lookup_csca_cert | lookup_csca_cert |
callback for finding the X.509 trust anchor More... | |
int ca_ctx::flags |
X509_lookup_csca_cert ca_ctx::lookup_csca_cert |
callback for finding the X.509 trust anchor
This function is called when passive authentication with the signed public key of the card.
int ca_ctx::protocol |
Identifier of the protocol's OID specifying the exact CA parameters to use.
Accepts the following values:
NID_id_CA_DH_3DES_CBC_CBC
NID_id_CA_DH_AES_CBC_CMAC_128
NID_id_CA_DH_AES_CBC_CMAC_192
NID_id_CA_DH_AES_CBC_CMAC_256
NID_id_CA_ECDH_3DES_CBC_CBC
NID_id_CA_ECDH_AES_CBC_CMAC_128
NID_id_CA_ECDH_AES_CBC_CMAC_192
NID_id_CA_ECDH_AES_CBC_CMAC_256