3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/deps/json/Value.h"
7#include "mc/deps/crypto/asymmetric/system/System.h"
8#include "mc/deps/json/Value.h"
21 ::std::string mHeader;
25 ::std::string mSignature;
39 MCNAPI ::std::string getSignerPublicKey()
const;
47 ::std::string
const& publicKey,
48 ::std::optional<::Crypto::Asymmetric::System> expectedSystem
59 MCNAPI static ::std::optional<::WebToken>
74 ::std::variant<::PublicKeySignatureType, ::CertificateSNIType>
const& signatureType
77 MCNAPI static ::std::optional<::WebToken>
parse(::std::string_view token, uint64 maxLength);
83 MCNAPI
void*
$ctor(::WebToken
const&);
Definition PrivateKeyManager.h:10
MCAPI::WebToken & operator=(::WebToken &&)
MCAPI WebToken(::WebToken const &)
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)
static MCAPI ::std::optional<::WebToken > createFromData(::Json::Value const &dataInfo, ::PrivateKeyManager const &manager)
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::std::string getKeyId() const
MCAPI::WebToken & operator=(::WebToken const &)
Definition CertificateSNIType.h:5
Definition PublicKeySignatureType.h:5