LeviLamina
Loading...
Searching...
No Matches
WebKey.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/platform/Result.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
namespace
Json {
class
Value
; }
11
// clang-format on
12
13
class
WebKey {
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
::ll::UntypedStorage<4, 4>
mUnk59454e;
18
::ll::UntypedStorage<8, 32>
mUnkcbf480;
19
// NOLINTEND
20
21
public
:
22
// prevent constructor by default
23
WebKey& operator=(WebKey
const
&);
24
WebKey(WebKey
const
&);
25
WebKey();
26
27
public
:
28
// member functions
29
// NOLINTBEGIN
30
MCNAPI ::Bedrock::Result<::Json::Value>
toJson
(::std::optional<::std::string> kid)
const
;
31
// NOLINTEND
32
33
public
:
34
// static functions
35
// NOLINTBEGIN
36
MCNAPI static ::Bedrock::Result<::WebKey>
fromRawPublicKey
(::std::string
const
& publicKey);
37
38
MCNAPI static ::Bedrock::Result<::WebKey>
parse
(
::Json::Value
const
& jwk);
39
// NOLINTEND
40
};
Json::Value
Definition
Value.h:16
WebKey::parse
static MCAPI ::Bedrock::Result<::WebKey > parse(::Json::Value const &jwk)
WebKey::fromRawPublicKey
static MCAPI ::Bedrock::Result<::WebKey > fromRawPublicKey(::std::string const &publicKey)
WebKey::toJson
MCAPI ::Bedrock::Result<::Json::Value > toJson(::std::optional<::std::string > kid) const
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
certificates
WebKey.h
Generated on
for LeviLamina by
1.16.1