15class UnverifiedCertificate {
20 ::std::unique_ptr<::UnverifiedCertificate> mParentUnverifiedCertificate;
24 UnverifiedCertificate(
26 ::std::unique_ptr<UnverifiedCertificate>&& parentUnverifiedCertificate
28 : mRawToken(rawToken),
29 mParentUnverifiedCertificate(std::move(parentUnverifiedCertificate)) {}
34 MCAPI UnverifiedCertificate(::UnverifiedCertificate
const& other);
38 MCAPI_C
void addToEnd(::UnverifiedCertificate
const& unverifiedCertificate);
40 MCAPI ::std::string getIdentityPublicKey()
const;
42 MCAPI ::std::string toString()
const;
44 MCAPI ::std::unique_ptr<::Certificate>
45 verify(::std::vector<::std::string>
const& trustedKeys,
int remainingDepth)
const;
47 MCAPI ~UnverifiedCertificate();
53 MCAPI static ::UnverifiedCertificate fromString(::std::string
const& input);
59 MCAPI
void* $ctor(::UnverifiedCertificate
const& other);