LeviLamina
Loading...
Searching...
No Matches
UnverifiedCertificate.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/certificates/WebToken.h"
5
6// auto generated inclusion list
7#include "mc/certificates/WebToken.h"
8
9// auto generated forward declare list
10// clang-format off
11class Certificate;
12namespace Json { class Value; }
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::WebToken const mRawToken;
20 ::std::unique_ptr<::UnverifiedCertificate> mParentUnverifiedCertificate;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
27
28public:
29 // member functions
30 // NOLINTBEGIN
32
33 MCNAPI void addToChain(::Json::Value& chain) const;
34
35 MCNAPI ::std::string getIdentityPublicKey() const;
36
37 MCNAPI ::std::string toString() const;
38
39 MCNAPI ::std::unique_ptr<::Certificate> verify(::std::vector<::std::string> const& trustedKeys) const;
40
42 // NOLINTEND
43
44public:
45 // static functions
46 // NOLINTBEGIN
47 MCNAPI static ::UnverifiedCertificate fromString(::std::string const& input);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCNAPI void* $ctor(::UnverifiedCertificate const& other);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCNAPI void $dtor();
60 // NOLINTEND
61};
Definition Certificate.h:16
Definition Value.h:16
Definition UnverifiedCertificate.h:15
MCAPI ::std::unique_ptr<::Certificate > verify(::std::vector<::std::string > const &trustedKeys) const
MCAPI void addToChain(::Json::Value &chain) const
MCAPI ~UnverifiedCertificate()
MCAPI void * $ctor(::UnverifiedCertificate const &other)
MCAPI::std::string getIdentityPublicKey() const
MCAPI::std::string toString() const
MCAPI UnverifiedCertificate(::UnverifiedCertificate const &other)
static MCAPI ::UnverifiedCertificate fromString(::std::string const &input)
Definition WebToken.h:16