#include <AbstractOpenSessionRespPars.h>
|
| SecureSession (const std::vector< uint8_t > &challengeTransactionCounter, const std::vector< uint8_t > &challengeRandomNumber, const bool previousSessionRatified, const bool manageSecureSessionAuthorized, const uint8_t kif, const uint8_t kvc, const std::vector< uint8_t > &originalData, const std::vector< uint8_t > &secureSessionData) |
|
| SecureSession (const std::vector< uint8_t > &challengeTransactionCounter, const std::vector< uint8_t > &challengeRandomNumber, const bool previousSessionRatified, const bool manageSecureSessionAuthorized, const uint8_t kvc, const std::vector< uint8_t > &originalData, const std::vector< uint8_t > &secureSessionData) |
|
| SecureSession (const std::vector< uint8_t > &challengeTransactionCounter, const std::vector< uint8_t > &challengeRandomNumber, const bool previousSessionRatified, const bool manageSecureSessionAuthorized, const std::vector< uint8_t > &originalData, const std::vector< uint8_t > &secureSessionData) |
|
virtual | ~SecureSession ()=default |
|
virtual const std::vector< uint8_t > & | getChallengeTransactionCounter () const |
|
virtual const std::vector< uint8_t > & | getChallengeRandomNumber () const |
|
virtual bool | isPreviousSessionRatified () const |
|
virtual bool | isManageSecureSessionAuthorized () const |
|
virtual uint8_t | getKIF () const |
|
virtual uint8_t | getKVC () const |
|
virtual const std::vector< uint8_t > & | getOriginalData () const |
|
virtual const std::vector< uint8_t > & | getSecureSessionData () const |
|
The Class SecureSession. A secure session is returned by a open secure session command
◆ SecureSession() [1/3]
keyple::calypso::command::po::parser::security::SecureSession::SecureSession |
( |
const std::vector< uint8_t > & |
challengeTransactionCounter, |
|
|
const std::vector< uint8_t > & |
challengeRandomNumber, |
|
|
const bool |
previousSessionRatified, |
|
|
const bool |
manageSecureSessionAuthorized, |
|
|
const uint8_t |
kif, |
|
|
const uint8_t |
kvc, |
|
|
const std::vector< uint8_t > & |
originalData, |
|
|
const std::vector< uint8_t > & |
secureSessionData |
|
) |
| |
Instantiates a new SecureSession for a Calypso application revision 3
- Parameters
-
challengeTransactionCounter | Challenge transaction counter |
challengeRandomNumber | Challenge random number |
previousSessionRatified | the previous session ratified |
manageSecureSessionAuthorized | the manage secure session authorized |
kif | the KIF from the response of the open secure session APDU command |
kvc | the KVC from the response of the open secure session APDU command |
originalData | the original data from the response of the open secure session APDU command |
secureSessionData | the secure session data from the response of open secure session APDU command |
◆ SecureSession() [2/3]
keyple::calypso::command::po::parser::security::SecureSession::SecureSession |
( |
const std::vector< uint8_t > & |
challengeTransactionCounter, |
|
|
const std::vector< uint8_t > & |
challengeRandomNumber, |
|
|
const bool |
previousSessionRatified, |
|
|
const bool |
manageSecureSessionAuthorized, |
|
|
const uint8_t |
kvc, |
|
|
const std::vector< uint8_t > & |
originalData, |
|
|
const std::vector< uint8_t > & |
secureSessionData |
|
) |
| |
Instantiates a new SecureSession for a Calypso application revision 2.4
- Parameters
-
challengeTransactionCounter | Challenge transaction counter |
challengeRandomNumber | Challenge random number |
previousSessionRatified | the previous session ratified |
manageSecureSessionAuthorized | the manage secure session authorized |
kvc | the KVC from the response of the open secure session APDU command |
originalData | the original data from the response of the open secure session APDU command |
secureSessionData | the secure session data from the response of open secure session APDU command |
◆ SecureSession() [3/3]
keyple::calypso::command::po::parser::security::SecureSession::SecureSession |
( |
const std::vector< uint8_t > & |
challengeTransactionCounter, |
|
|
const std::vector< uint8_t > & |
challengeRandomNumber, |
|
|
const bool |
previousSessionRatified, |
|
|
const bool |
manageSecureSessionAuthorized, |
|
|
const std::vector< uint8_t > & |
originalData, |
|
|
const std::vector< uint8_t > & |
secureSessionData |
|
) |
| |
Instantiates a new SecureSession for a Calypso application revision 1.0
- Parameters
-
challengeTransactionCounter | Challenge transaction counter |
challengeRandomNumber | Challenge random number |
previousSessionRatified | the previous session ratified |
manageSecureSessionAuthorized | the manage secure session authorized |
originalData | the original data from the response of the open secure session APDU command |
secureSessionData | the secure session data from the response of open secure session APDU command |
◆ ~SecureSession()
virtual keyple::calypso::command::po::parser::security::AbstractOpenSessionRespPars::SecureSession::~SecureSession |
( |
| ) |
|
|
virtualdefault |
◆ getChallengeRandomNumber()
const std::vector< uint8_t > & keyple::calypso::command::po::parser::security::SecureSession::getChallengeRandomNumber |
( |
| ) |
const |
|
virtual |
◆ getChallengeTransactionCounter()
const std::vector< uint8_t > & keyple::calypso::command::po::parser::security::SecureSession::getChallengeTransactionCounter |
( |
| ) |
const |
|
virtual |
◆ getKIF()
uint8_t keyple::calypso::command::po::parser::security::SecureSession::getKIF |
( |
| ) |
const |
|
virtual |
Gets the kif.
- Returns
- the kif
◆ getKVC()
uint8_t keyple::calypso::command::po::parser::security::SecureSession::getKVC |
( |
| ) |
const |
|
virtual |
Gets the kvc.
- Returns
- the kvc
◆ getOriginalData()
const std::vector< uint8_t > & keyple::calypso::command::po::parser::security::SecureSession::getOriginalData |
( |
| ) |
const |
|
virtual |
Gets the original data.
- Returns
- the original data
◆ getSecureSessionData()
const std::vector< uint8_t > & keyple::calypso::command::po::parser::security::SecureSession::getSecureSessionData |
( |
| ) |
const |
|
virtual |
Gets the secure session data.
- Returns
- the secure session data
◆ isManageSecureSessionAuthorized()
bool keyple::calypso::command::po::parser::security::SecureSession::isManageSecureSessionAuthorized |
( |
| ) |
const |
|
virtual |
Checks if is manage secure session authorized.
- Returns
- the boolean
◆ isPreviousSessionRatified()
bool keyple::calypso::command::po::parser::security::SecureSession::isPreviousSessionRatified |
( |
| ) |
const |
|
virtual |
Checks if is previous session ratified.
- Returns
- the boolean
The documentation for this class was generated from the following files: