Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
|
#include <SecuritySetting.hpp>
Public Member Functions | |
virtual SecuritySetting & | setControlSamResource (const std::shared_ptr< CardReader > samReader, const std::shared_ptr< LegacySam > controlSam)=0 |
Security setting to manage operations of a legacy SAM transaction secured by a control SAM.
An instance of this interface can be obtained via the method LegacySamApiFactory#createSecuritySetting().
Definition at line 34 of file SecuritySetting.hpp.
|
pure virtual |
Sets the control SAM and the reader through which it can be accessed. It will be used to perform all necessary cryptographic operations.
samReader | The reader to use to communicate with the SAM. |
controlSam | The control Legacy SAM. |
IllegalArgumentException | If one of the arguments is null or if the product type of LegacySam is equal to LegacySam::ProductType::UNKNOWN. |