19 ::std::unique_ptr<::Certificate> mParentCertificate;
33 MCAPI int64 getExpirationDate()
const;
35 MCAPI ::std::string getIdentityPublicKey()
const;
37 MCAPI int64 getNotBeforeDate()
const;
39 MCAPI
bool isCertificateAuthority()
const;
41 MCAPI
bool validate(int64 currentTime,
bool isSelfSigned,
bool checkExpired);
49 MCAPI static ::std::unique_ptr<::WebToken> createWebToken(
53 ::std::string
const& identityPublicKey,
58 MCAPI static ::std::unique_ptr<::Certificate> createWrappedCertificate(
62 ::std::string
const& identityPublicKey,
65 ::std::unique_ptr<::Certificate> isCertificateAuthority