proxygen
CertTest.cpp File Reference
#include <gtest/gtest.h>
#include <fizz/crypto/test/TestUtil.h>
#include <fizz/protocol/Certificate.h>
#include <folly/String.h>

Go to the source code of this file.

Classes

struct  fizz::test::P256Test
 
struct  fizz::test::P384Test
 
struct  fizz::test::P521Test
 
struct  fizz::test::RSATest
 
class  fizz::test::CertTestTyped< T >
 

Namespaces

 fizz
 
 fizz::test
 

Functions

template<typename T >
static ssl::X509UniquePtr fizz::test::getCert ()
 
template<>
ssl::X509UniquePtr fizz::test::getCert< P256Test > ()
 
template<>
ssl::X509UniquePtr fizz::test::getCert< P384Test > ()
 
template<>
ssl::X509UniquePtr fizz::test::getCert< P521Test > ()
 
template<>
ssl::X509UniquePtr fizz::test::getCert< RSATest > ()
 
template<typename T >
static ssl::EvpPkeyUniquePtr fizz::test::getKey ()
 
template<>
ssl::EvpPkeyUniquePtr fizz::test::getKey< P256Test > ()
 
template<>
ssl::EvpPkeyUniquePtr fizz::test::getKey< P384Test > ()
 
template<>
ssl::EvpPkeyUniquePtr fizz::test::getKey< P521Test > ()
 
template<>
ssl::EvpPkeyUniquePtr fizz::test::getKey< RSATest > ()
 
 fizz::test::TYPED_TEST_CASE (CertTestTyped, KeyTypes)
 
 fizz::test::TEST (CertTest, GetIdentity)
 
 fizz::test::TEST (CertTest, GetAltIdentity)
 
 fizz::test::TEST (CertTest, GetCertMessage)
 
 fizz::test::TEST (CertTest, PrepareSignData)
 
 fizz::test::TEST (CertTest, MakePeerCertEmpty)
 
 fizz::test::TEST (CertTest, MakePeerCertJunk)
 
 fizz::test::TEST (CertTest, PeerCertGetX509)
 
 fizz::test::TYPED_TEST (CertTestTyped, MatchingCert)
 
 fizz::test::TYPED_TEST (CertTestTyped, MismatchedCert)
 
 fizz::test::TYPED_TEST (CertTestTyped, SigSchemes)
 
 fizz::test::TYPED_TEST (CertTestTyped, TestSignVerify)
 
 fizz::test::TYPED_TEST (CertTestTyped, TestSignVerifyBitFlip)
 
 fizz::test::TYPED_TEST (CertTestTyped, TestSignVerifyWrongSize)
 
 fizz::test::TYPED_TEST (CertTestTyped, TestVerifyWrongScheme)
 
 fizz::test::TYPED_TEST (CertTestTyped, TestVerifyDecodedCert)