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
10namespace Json { class Value; }
11// clang-format on
12
13class WebKey {
14public:
15 // member variables
16 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 WebKey& operator=(WebKey const&);
24 WebKey(WebKey const&);
25 WebKey();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI ::Bedrock::Result<::Json::Value> toJson(::std::optional<::std::string> kid) const;
31 // NOLINTEND
32
33public:
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};
Definition Value.h:16
static MCAPI ::Bedrock::Result<::WebKey > parse(::Json::Value const &jwk)
static MCAPI ::Bedrock::Result<::WebKey > fromRawPublicKey(::std::string const &publicKey)
MCAPI ::Bedrock::Result<::Json::Value > toJson(::std::optional<::std::string > kid) const
Definition Alias.h:14