Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
Public Member Functions | List of all members
keypop::calypso::crypto::asymmetric::certificate::spi::PcaCertificateSpi Class Referenceabstract

#include <PcaCertificateSpi.hpp>

Public Member Functions

virtual const std::shared_ptr< CaCertificateContentSpicheckCertificateAndGetContent () const =0
 

Detailed Description

SPI dedicated to Primary Certification Authority (PCA) certificate management.

Since
0.2.0

Definition at line 30 of file PcaCertificateSpi.hpp.

Member Function Documentation

◆ checkCertificateAndGetContent()

virtual const std::shared_ptr< CaCertificateContentSpi > keypop::calypso::crypto::asymmetric::certificate::spi::PcaCertificateSpi::checkCertificateAndGetContent ( ) const
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.

Note: The certificate is expected to be self-signed in this context.

Returns
A non-null reference.
Exceptions
CertificateValidationExceptionIf the certificate is invalid, expired, revoked, or fails any other validation checks.
AsymmetricCryptoExceptionIf a technical error occurs during the cryptographic computations.
Since
0.2.0

The documentation for this class was generated from the following file: