22namespace transaction {
51 const std::shared_ptr<CardPublicKeySpi> cardPublicKey)
SPI providing the card's public key.
Calypso card asymmetric key cryptography service.
virtual bool isCardPkiSessionValid(const std::vector< uint8_t > &cardSessionSignature)=0
Verifies the provided secure session signature (a 64-byte byte array) from the previously initialized...
virtual void initTerminalPkiSession(const std::shared_ptr< CardPublicKeySpi > cardPublicKey)=0
Initialize the cryptographic context for a new secure session in PKI mode with the provided card publ...
virtual void updateTerminalPkiSession(const std::vector< uint8_t > &cardApdu)=0
Updates the session signature verification engine with data sent or received from the card as a byte ...