Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
|
#include <CardTransactionLegacySamExtension.hpp>
Public Member Functions | |
virtual CardTransactionLegacySamExtension & | prepareComputeSignature (SignatureComputationData<?> data)=0 |
virtual CardTransactionLegacySamExtension & | prepareVerifySignature (SignatureVerificationData<?> data)=0 |
Extends the CardTransactionCryptoExtension interface of the "Keypop Calypso Card API" to enrich the card transaction command set with specific crypto commands such as for example computation and signature verification operations.
An instance of this interface can be obtained via the methods keypop::calypso::card::transaction::SecureRegularModeTransactionManager ::getCryptoExtension(Class) or keypop::calypso::card::transaction::SecureExtendedModeTransactionManager ::getCryptoExtension(Class).
Definition at line 39 of file CardTransactionLegacySamExtension.hpp.
|
pure virtual |
Schedules the execution of a "Data Cipher" or "PSO Compute Signature" command.
Once the command is processed, the result will be available in the provided input/output BasicSignatureComputationData or TraceableSignatureComputationData objects.
The signature may be used for many purposes, for example:
data | The input/output data containing the parameters of the command. |
IllegalArgumentException | If the input data is inconsistent. |
|
pure virtual |
Schedules the execution of a "Data Cipher" or "PSO Verify Signature" command.
Once the command is processed, the result will be available in the provided input/output BasicSignatureVerificationData or TraceableSignatureVerificationData objects.
data | The input/output data containing the parameters of the command. |
IllegalArgumentException | If the input data is inconsistent. |
SamRevokedException | If the signature has been computed in "SAM traceability" mode and the SAM revocation status check has been requested and the SAM is revoked (for traceable signature only). |