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 toString() const;
36
37 MCNAPI ::std::unique_ptr<::Certificate> verify(::std::vector<::std::string> const& trustedKeys) const;
38
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCNAPI static ::UnverifiedCertificate fromString(::std::string const& input);
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCNAPI void* $ctor(::UnverifiedCertificate const& other);
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCNAPI void $dtor();
58 // NOLINTEND
59};
Definition Certificate.h:9
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 toString() const
MCAPI UnverifiedCertificate(::UnverifiedCertificate const &other)
static MCAPI ::UnverifiedCertificate fromString(::std::string const &input)
Definition WebToken.h:16