Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
Public Member Functions | List of all members
keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateContentSpi Class Referenceabstract

#include <CaCertificateContentSpi.hpp>

Public Member Functions

virtual const std::shared_ptr< PublicKeygetPublicKey () const =0
 
virtual const std::vector< uint8_t > & getPublicKeyReference () const =0
 
virtual uint64_t getStartDate () const =0
 
virtual uint64_t getEndDate () const =0
 
virtual bool isAidCheckRequested () const =0
 
virtual bool isAidTruncated () const =0
 
virtual const std::vector< uint8_t > & getAid () const =0
 
virtual bool isCaCertificatesAuthenticationAllowed () const =0
 
virtual bool isCardCertificatesAuthenticationAllowed () const =0
 

Detailed Description

SPI providing a generic public key.

Since
0.2.0

Definition at line 32 of file CaCertificateContentSpi.hpp.

Member Function Documentation

◆ 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: