Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
Public Member Functions | List of all members
keypop::calypso::card::transaction::InvalidCardSignatureException Class Referencefinal

#include <InvalidCardSignatureException.hpp>

Inheritance diagram for keypop::calypso::card::transaction::InvalidCardSignatureException:
Inheritance graph
[legend]
Collaboration diagram for keypop::calypso::card::transaction::InvalidCardSignatureException:
Collaboration graph
[legend]

Public Member Functions

 InvalidCardSignatureException (const std::string &message)
 
 InvalidCardSignatureException (const std::string &message, const std::shared_ptr< std::exception > cause)
 

Detailed Description

Indicates that the card signature is incorrect.

In the case of a card transaction secured by "symmetrical" cryptography (e.g. SAM), this indicates that the card has correctly closed the secure session, but the card session is not authentic because the MAC of the card is incorrect. This can happen in the following cases:

In the case of a card transaction secured by "asymmetrical" cryptography (e.g. PKI), this indicates only that the card signature is incorrect.

Since
1.2.0

Definition at line 38 of file InvalidCardSignatureException.hpp.

Constructor & Destructor Documentation

◆ InvalidCardSignatureException() [1/2]

keypop::calypso::card::transaction::InvalidCardSignatureException::InvalidCardSignatureException ( const std::string &  message)
inlineexplicit
Parameters
messageThe message to identify the exception context
Since
1.2.0

Definition at line 44 of file InvalidCardSignatureException.hpp.

◆ InvalidCardSignatureException() [2/2]

keypop::calypso::card::transaction::InvalidCardSignatureException::InvalidCardSignatureException ( const std::string &  message,
const std::shared_ptr< std::exception >  cause 
)
inline

Encapsulates a lower level exception.

Parameters
messageMessage to identify the exception context.
causeThe cause.
Since
1.2.0

Definition at line 55 of file InvalidCardSignatureException.hpp.


The documentation for this class was generated from the following file: