LeviLamina
Loading...
Searching...
No Matches
Certificate Class Reference

Public Member Functions

MCAPI_C void addToEnd (::Certificate const &certificate)
MCAPI int64 getExpirationDate () const
MCAPI::std::string getIdentityPublicKey () const
MCAPI int64 getNotBeforeDate () const
MCAPI_C::Certificate & getRootParentCertificate ()
MCAPI bool validate (int64 currentTime, bool isSelfSigned, bool checkExpired)
MCAPI_C void * $ctor (::Certificate const &other)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI_C ::std::unique_ptr<::CertificateaddAuthorityToCertificate (::PrivateKeyManager &signer, int64 notBeforeDate, int64 expirationDate, ::std::string const &identityPublicKey, ::std::unique_ptr<::Certificate > certificate)
static MCAPI_C ::std::unique_ptr<::WebTokencreateWebToken (::PrivateKeyManager &signer, int64 notBeforeDate, int64 expirationDate, ::std::string const &identityPublicKey, bool isCertificateAuthority, ::Json::Value const *extraData)
static MCAPI_C ::std::unique_ptr<::CertificatecreateWrappedCertificate (::PrivateKeyManager &signer, int64 notBeforeDate, int64 expirationDate, ::std::string const &identityPublicKey, bool isCertificateAuthority, ::Json::Value const *extraData, ::std::unique_ptr<::Certificate > parentCertificate)

Public Attributes

::UnverifiedCertificate mUnverifiedCertificate
::std::unique_ptr<::CertificatemParentCertificate
bool mIsValid
bool mIsSelfSigned

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