#include <CaCertificateContentSpi.hpp>
SPI providing a generic public key.
- Since
- 0.2.0
Definition at line 32 of file CaCertificateContentSpi.hpp.
◆ getAid()
virtual const std::vector< uint8_t > & keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateContentSpi::getAid |
( |
| ) |
const |
|
pure virtual |
Return the AID value.
- Returns
- null if the AID check is not requested.
- Since
- 0.2.0
◆ getEndDate()
virtual uint64_t keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateContentSpi::getEndDate |
( |
| ) |
const |
|
pure virtual |
Returns the validity end date of the certificate in long format.
The date is represented in the format 0xYYYYMMDD, where YYYY is the four-digit year, MM is the two-digit month, and DD is the two-digit day.
If the validity end date is not defined or available, the method returns 0.
- Returns
- 0 if the validity end date is not defined.
- Since
- 0.2.0
◆ getPublicKey()
virtual const std::shared_ptr< PublicKey > keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateContentSpi::getPublicKey |
( |
| ) |
const |
|
pure virtual |
Returns the public key.
- Returns
- A non-null reference.
- See also
- PublicKey
- Since
- 0.2.0
◆ getPublicKeyReference()
virtual const std::vector< uint8_t > & keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateContentSpi::getPublicKeyReference |
( |
| ) |
const |
|
pure virtual |
Returns the reference of the public key as a byte array.
- Returns
- A non-empty byte array.
- Since
- 0.2.0
◆ getStartDate()
virtual uint64_t keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateContentSpi::getStartDate |
( |
| ) |
const |
|
pure virtual |
Returns the validity start date of the certificate in long format.
The date is represented in the format 0xYYYYMMDD, where YYYY is the four-digit year, MM is the two-digit month, and DD is the two-digit day.
If the validity start date is not defined or available, the method returns 0.
- Returns
- 0 if the validity start date is not defined.
- Since
- 0.2.0
◆ isAidCheckRequested()
virtual bool keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateContentSpi::isAidCheckRequested |
( |
| ) |
const |
|
pure virtual |
Indicates if the AID has to be checked.
- Returns
- true if the AID must be checked.
- Since
- 0.2.0
◆ isAidTruncated()
virtual bool keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateContentSpi::isAidTruncated |
( |
| ) |
const |
|
pure virtual |
Indicates if the AID is truncated.
- Returns
- true if the AID is truncated.
- Since
- 0.2.0
◆ isCaCertificatesAuthenticationAllowed()
virtual bool keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateContentSpi::isCaCertificatesAuthenticationAllowed |
( |
| ) |
const |
|
pure virtual |
Indicates if the certificate can be used to authenticate CA certificates.
- Returns
- true if the certificate can be used to authenticate CA certificates.
- Since
- 0.2.0
◆ isCardCertificatesAuthenticationAllowed()
virtual bool keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateContentSpi::isCardCertificatesAuthenticationAllowed |
( |
| ) |
const |
|
pure virtual |
Indicates if the certificate can be used to authenticate card certificates.
- Returns
- true if the certificate can be used to authenticate card certificates.
- Since
- 0.2.0
The documentation for this class was generated from the following file: