Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
Public Member Functions | List of all members
keypop::calypso::crypto::legacysam::transaction::UnexpectedCommandStatusException Class Reference

#include <UnexpectedCommandStatusException.hpp>

Inheritance diagram for keypop::calypso::crypto::legacysam::transaction::UnexpectedCommandStatusException:
Inheritance graph
[legend]
Collaboration diagram for keypop::calypso::crypto::legacysam::transaction::UnexpectedCommandStatusException:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

Indicates that an unexpected command status was returned by the card or SAM.

This can occur if the card or SAM is not Calypso compliant or if the card has refused the secure session closing.

For this last case, this is usually due to an incorrect SAM signature, or that the secure session has been altered by other APDU commands that would have interfered with it.

If a secure session was open, the card discarded all data by cancelling all updates except for PIN verification attempts.

Since
0.1.0

Definition at line 36 of file UnexpectedCommandStatusException.hpp.

Constructor & Destructor Documentation

◆ UnexpectedCommandStatusException()

keypop::calypso::crypto::legacysam::transaction::UnexpectedCommandStatusException::UnexpectedCommandStatusException ( const std::string &  message,
const std::shared_ptr< std::exception >  cause 
)
inline
Parameters
messageMessage to identify the exception context.
causeThe cause.
Since
0.1.0

Definition at line 43 of file UnexpectedCommandStatusException.hpp.


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