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 forward declare list
7// clang-format off
8class Certificate;
9class WebToken;
10namespace Json { class Value; }
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::WebToken const mRawToken;
18 ::std::unique_ptr<::UnverifiedCertificate> mParentUnverifiedCertificate;
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
24
25public:
26 // member functions
27 // NOLINTBEGIN
29
30 MCAPI void addToChain(::Json::Value& chain) const;
31
32 MCAPI ::std::string getIdentityPublicKey() const;
33
34 MCAPI ::std::string toString() const;
35
36 MCAPI ::std::unique_ptr<::Certificate> verify(::std::vector<::std::string> const& trustedKeys) const;
37
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static ::UnverifiedCertificate fromString(::std::string const& input);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::UnverifiedCertificate const& other);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58};
Definition Certificate.h:14
Definition Value.h:16
Definition UnverifiedCertificate.h:13
Definition WebToken.h:14