proxygen
|
#include <FizzUtil.h>
Static Public Member Functions | |
static std::vector< folly::ssl::X509UniquePtr > | readChainFile (const std::string &filename) |
static folly::ssl::EvpPkeyUniquePtr | readPrivateKey (const std::string &filename, const std::string &passwordFilename) |
static std::vector< std::string > | getAlpnsFromNpnList (const std::list< folly::SSLContext::NextProtocolsItem > &list) |
static folly::ssl::EvpPkeyUniquePtr | decryptPrivateKey (const std::string &data, folly::PasswordInFile *pf) |
template<class TicketCipher > | |
static std::unique_ptr< TicketCipher > | createTicketCipher (const std::vector< std::string > &oldSecrets, const std::string ¤tSecret, const std::vector< std::string > &newSecrets, std::chrono::seconds validity, folly::Optional< std::string > pskContext) |
Definition at line 22 of file FizzUtil.h.
|
inlinestatic |
Definition at line 43 of file FizzUtil.h.
References cipher, folly::Optional< Value >::hasValue(), folly::gen::move, and secret.
|
static |
Definition at line 73 of file FizzUtil.cpp.
References fizz::passwordCallback().
Referenced by readPrivateKey().
|
static |
Definition at line 97 of file FizzUtil.cpp.
|
static |
Definition at line 36 of file FizzUtil.cpp.
References folly::ssl::OpenSSLCertUtils::readCertsFromBuffer(), folly::readFile(), and string.
|
static |
Definition at line 52 of file FizzUtil.cpp.
References data, decryptPrivateKey(), folly::readFile(), folly::sformat(), and string.