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

Public Member Functions

MCAPI WebToken (::WebToken const &)
MCAPI::std::string getKeyId () const
MCAPI::WebToken & operator= (::WebToken &&)
MCAPI::WebToken & operator= (::WebToken const &)
MCAPI bool verifyWithExternalKey (::std::string const &publicKey, ::std::optional<::Crypto::Asymmetric::System > expectedSystem) const
MCAPI bool verifyWithIncludedKey (::std::vector<::std::string > const &trustedKeys) const
MCAPI void * $ctor (::WebToken const &)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::optional<::WebToken > createFromData (::Json::Value const &dataInfo, ::PrivateKeyManager const &manager)
static MCAPI ::std::optional<::WebToken > createFromData (::Json::Value const &dataInfo, ::PrivateKeyManager const &manager, ::Json::Value const &extraHeaders, ::std::variant<::PublicKeySignatureType, ::CertificateSNIType > const &signatureType)
static MCAPI ::std::optional<::WebToken > parse (::std::string_view token, uint64 maxLength)

Public Attributes

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

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