proxygen
Util.h File Reference

Go to the source code of this file.

Namespaces

 fizz
 
 fizz::detail
 

Functions

std::tuple< Buf, std::vector< fizz::Extension > > fizz::detail::decodeAuthRequest (const Buf &authRequest)
 
Buf fizz::detail::computeTranscriptHash (std::unique_ptr< KeyDerivation > &deriver, const Buf &toBeHashed)
 
void fizz::detail::writeBuf (const Buf &buf, folly::io::Appender &out)
 
Buf fizz::detail::computeTranscript (const Buf &handshakeContext, const Buf &authenticatorRequest, const Buf &certificate)
 
Buf fizz::detail::computeFinishedTranscript (const Buf &crTranscript, const Buf &certVerify)
 
Buf fizz::detail::getFinishedData (std::unique_ptr< KeyDerivation > &deriver, Buf &finishedMacKey, const Buf &finishedTranscript)
 
folly::Optional< std::vector< SignatureScheme > > fizz::detail::getRequestedSchemes (const std::vector< fizz::Extension > &authRequestExtensions)
 
folly::Optional< SignatureScheme > fizz::detail::getSignatureScheme (const std::vector< SignatureScheme > &supportedSchemes, const SelfCert &cert, const std::vector< fizz::Extension > &authRequestExtensions)
 
Buf fizz::detail::getEmptyAuthenticator (std::unique_ptr< KeyDerivation > &kderiver, Buf authRequest, Buf handshakeContext, Buf finishedMacKey)