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