proxygen
|
#include <Validator.h>
Static Public Member Functions | |
static folly::Optional< TokenBindingID > | validateTokenBinding (TokenBinding tokenBinding, const Buf &ekm, const TokenBindingKeyParameters &negotiatedParameters) |
Static Private Member Functions | |
static void | verify (const TokenBindingKeyParameters &keyParams, const Buf &key, const Buf &signature, const Buf &message) |
static folly::ssl::EcdsaSigUniquePtr | constructECDSASig (const Buf &signature) |
static folly::ssl::EcKeyUniquePtr | constructEcKeyFromBuf (const Buf &key) |
Definition at line 24 of file Validator.h.
|
staticprivate |
Definition at line 79 of file Validator.cpp.
References folly::IOBuf::create(), folly::portability::ssl::ECDSA_SIG_set0(), and s.
|
staticprivate |
Definition at line 108 of file Validator.cpp.
References folly::IOBuf::create(), fizz::detail::decodeECPublicKey(), folly::io::detail::CursorBase< Derived, BufType >::readBE(), uint8_t, and folly::io::detail::Writable< Derived >::writeBE().
|
static |
Definition at line 22 of file Validator.cpp.
References fizz::extensions::TokenBindingID::key, fizz::extensions::TokenBindingID::key_parameters, folly::gen::move, folly::none, fizz::extensions::TokenBinding::signature, fizz::extensions::TokenBinding::tokenbinding_type, fizz::extensions::TokenBinding::tokenbindingid, fizz::toString(), and verify().
|
staticprivate |
Definition at line 51 of file Validator.cpp.
References fizz::detail::getOpenSSLError(), and fizz::Sha< Sha256 >::hash().