20 ::std::unique_ptr<::Certificate> mParentCertificate;
29 Certificate& operator=(Certificate
const&);
37 MCAPI Certificate(::Certificate
const& other);
39 MCAPI
void addToEnd(::Certificate
const& certificate);
42 MCAPI int64 getExpirationDate()
const;
44 MCAPI ::std::string getIdentityPublicKey()
const;
46 MCAPI int64 getNotBeforeDate()
const;
49 MCAPI ::Certificate& getRootParentCertificate();
52 MCAPI
bool validate(int64 currentTime,
bool isSelfSigned,
bool checkExpired);
61 MCAPI static ::std::unique_ptr<::Certificate> addAuthorityToCertificate(
65 ::std::string
const& identityPublicKey,
66 ::std::unique_ptr<::Certificate> certificate
69 MCAPI static ::std::unique_ptr<::WebToken> createWebToken(
73 ::std::string
const& identityPublicKey,
74 bool isCertificateAuthority,
78 MCAPI static ::std::unique_ptr<::Certificate> createWrappedCertificate(
82 ::std::string
const& identityPublicKey,
83 bool isCertificateAuthority,
85 ::std::unique_ptr<::Certificate> parentCertificate
94 MCAPI
void* $ctor(::Certificate
const& other);