Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
|
#include <CaCertificateSpi.hpp>
Public Member Functions | |
virtual const std::vector< uint8_t > & | getIssuerPublicKeyReference () const =0 |
virtual const CaCertificateContentSpi & | checkCertificateAndGetContent (const CaCertificateContentSpi &issuerCertificateContent)=0 |
SPI dedicated to Certification Authority (CA) certificate management.
Definition at line 29 of file CaCertificateSpi.hpp.
|
pure virtual |
Verifies the certificate signature and other relevant fields, then returns the certificate content.
This method performs a comprehensive validation of the certificate, including but not limited to checking the validity of the signature. It also verifies other essential fields of the certificate, such as the validity period, the issuer and subject details, and any relevant constraints or extensions. The method ensures the certificate is not only properly signed by the issuer but also conforms to the expected standards and requirements.
issuerCertificateContent | The issuer certificate content to be used for signature verification. |
CertificateValidationException | If the certificate is invalid, expired, revoked, or fails any other validation checks. |
AsymmetricCryptoException | If a technical error occurs during the cryptographic computations. |
|
pure virtual |
Retrieves the reference of the issuer's public key as a byte array.