Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
|
#include <CardCertificateParserSpi.hpp>
Public Member Functions | |
virtual uint8_t | getCertificateType () const =0 |
virtual std::shared_ptr< CardCertificateSpi > | parseCertificate (const std::vector< uint8_t > &cardOutputData) const =0 |
SPI dedicated to the creation of card certificates from raw data stored on a card.
Definition at line 30 of file CardCertificateParserSpi.hpp.
|
pure virtual |
Returns the certificate type.
|
pure virtual |
Parses the given card output data and creates a new card certificate instance.
The first byte of the provided byte array is the certificate type.
cardOutputData | A byte array containing the card certificate as stored on the card (316 bytes). |
CertificateValidationException | If the provided certificate has an unsupported format. |