24namespace certificate {
49 virtual const std::vector<uint8_t>&
getCardAid()
const = 0;
80 virtual const std::shared_ptr<CardPublicKeySpi>
82 const std::shared_ptr<CaCertificateContentSpi> issuerCertificateContent)
SPI dedicated to card certificate management.
virtual const std::vector< uint8_t > & getCardSerialNumber() const =0
Retrieves the serial number of the card as 8-byte byte array.
virtual const std::shared_ptr< CardPublicKeySpi > checkCertificateAndGetPublicKey(const std::shared_ptr< CaCertificateContentSpi > issuerCertificateContent)=0
Verifies the certificate signature and other relevant fields, then returns the public key.
virtual const std::vector< uint8_t > & getIssuerPublicKeyReference() const =0
Retrieves the reference of the issuer's public key as a byte array.
virtual const std::vector< uint8_t > & getCardAid() const =0
Retrieves the AID of the autonomous application of the card as a byte array ranging from 5 to 16 byte...