LeviLamina
Loading...
Searching...
No Matches
WebToken Class Reference

Public Member Functions

MCAPI WebToken (::std::string token)
 
MCAPI void _parse (::Json::Value &value, ::std::string const &data)
 
MCAPI::std::string _signatureToDER () const
 
MCAPI::std::string toString () const
 
MCAPI bool verifyWithIncludedKey (::std::vector<::std::string > const &trustedKeys) const
 
MCAPI ~WebToken ()
 
MCAPI void * $ctor (::std::string token)
 
MCAPI void $dtor ()
 

Static Public Member Functions

static MCAPI ::std::string _DERToBinary (::std::string const &derSignature, int outputLength)
 
static MCAPI ::std::unique_ptr<::WebTokencreateFromData (::Json::Value const &dataInfo, ::PrivateKeyManager const &manager, ::std::variant<::PublicKeySignatureType, ::CertificateSNIType > signatureType)
 

Public Attributes

::std::string mHeader
 
::Json::Value mHeaderInfo
 
::std::string mData
 
::Json::Value mDataInfo
 
::std::string mSignature
 

Constructor & Destructor Documentation

◆ WebToken()

MCAPI WebToken::WebToken ( ::std::string token)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ ~WebToken()

MCAPI WebToken::~WebToken ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _parse()

MCAPI void WebToken::_parse ( ::Json::Value & value,
::std::string const & data )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _signatureToDER()

MCAPI::std::string WebToken::_signatureToDER ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ toString()

MCAPI::std::string WebToken::toString ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ verifyWithIncludedKey()

MCAPI bool WebToken::verifyWithIncludedKey ( ::std::vector<::std::string > const & trustedKeys) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _DERToBinary()

static MCAPI ::std::string WebToken::_DERToBinary ( ::std::string const & derSignature,
int outputLength )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createFromData()

static MCAPI ::std::unique_ptr<::WebToken > WebToken::createFromData ( ::Json::Value const & dataInfo,
::PrivateKeyManager const & manager,
::std::variant<::PublicKeySignatureType, ::CertificateSNIType > signatureType )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * WebToken::$ctor ( ::std::string token)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void WebToken::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: