proxygen
fizz::test::Key< T > Class Template Reference
Inheritance diagram for fizz::test::Key< T >:
testing::Test

Public Types

using KeyExch = detail::OpenSSLECKeyExchange< T >
 
using KeyEncoder = detail::OpenSSLECKeyEncoder
 
using KeyDecoder = detail::OpenSSLECKeyDecoder< T >
 
- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 

Public Member Functions

KeyParams getKeyParams ()
 
template<>
KeyParams getKeyParams ()
 
template<>
KeyParams getKeyParams ()
 
template<>
KeyParams getKeyParams ()
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
virtual ~Test ()
 
virtual ~Test ()
 

Additional Inherited Members

- Static Public Member Functions inherited from testing::Test
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Detailed Description

template<class T>
class fizz::test::Key< T >

Definition at line 37 of file ECKeyExchangeTest.cpp.

Member Typedef Documentation

template<class T >
using fizz::test::Key< T >::KeyDecoder = detail::OpenSSLECKeyDecoder<T>

Definition at line 41 of file ECKeyExchangeTest.cpp.

template<class T >
using fizz::test::Key< T >::KeyEncoder = detail::OpenSSLECKeyEncoder

Definition at line 40 of file ECKeyExchangeTest.cpp.

template<class T >
using fizz::test::Key< T >::KeyExch = detail::OpenSSLECKeyExchange<T>

Definition at line 39 of file ECKeyExchangeTest.cpp.

Member Function Documentation

template<class T >
KeyParams fizz::test::Key< T >::getKeyParams ( )
template<>
KeyParams fizz::test::Key< P256 >::getKeyParams ( )

Definition at line 47 of file ECKeyExchangeTest.cpp.

References fizz::test::kP256K1Key, and fizz::test::kP256Key.

47  {
48  return KeyParams{kP256Key,
49  kP256K1Key,
50  "048d5e897c896b17e1679766c14c785dd2c328c3"
51  "eecc7dbfd2e2e817cd35c786aceea79bf1286ab8"
52  "a5c3c464c46f5ba06338b24ea96ce442a4d13356"
53  "902dfcd1e9",
54  "048d5e897c896b17e1679766c14c785dd2c328c3"
55  "eecc7dbfd2e2e817cd35c786abeea79bf1286ab8"
56  "a5c3c464c46f5ba06338b24ea96ce442a4d13356"
57  "902dfcd1e9",
58  "048d5e897c896b17e1679766c14c785dd2c328c3"};
59 }
constexpr folly::StringPiece kP256Key
Definition: TestUtil.h:18
constexpr folly::StringPiece kP256K1Key
Definition: TestUtil.h:33
template<>
KeyParams fizz::test::Key< P384 >::getKeyParams ( )

Definition at line 62 of file ECKeyExchangeTest.cpp.

References fizz::test::kP256Key, and fizz::test::kP384Key.

62  {
63  return KeyParams{kP384Key,
64  kP256Key,
65  "04811041962bbac9859eb2aa19a475"
66  "2e573949d3f1eb8abcb131c1674e75"
67  "061f5e17b6a24724eeb73268ed82fd"
68  "3d2bfc93db88cabbf8c9da9e4c1479"
69  "ffdb9a54b522990aef401c1ab004aa"
70  "1fdf0e26aa8692ca5860ad6f6cf8ea"
71  "3bb95dbecb82a3",
72  "04811041962bbac9859eb2aa19a475"
73  "2e573949d3f1eb8abcb131c1674e75"
74  "061f5e17b6a24724eeb73268ed82fd"
75  "3d2bfc93db88cabbf8c9da9e4c1479"
76  "ffdb9a54b522990aef401c1ab004aa"
77  "1fdf0e26aa8621ca5860ad6f6cf8ea"
78  "3bb95dbecb82a3",
79  "3bb95dbecb82a3"};
80 }
constexpr folly::StringPiece kP256Key
Definition: TestUtil.h:18
constexpr folly::StringPiece kP384Key
Definition: TestUtil.h:57
template<>
KeyParams fizz::test::Key< P521 >::getKeyParams ( )

Definition at line 83 of file ECKeyExchangeTest.cpp.

References fizz::test::kP384Key, and fizz::test::kP521Key.

83  {
84  return KeyParams{kP521Key,
85  kP384Key,
86  "0401a76d5b0c42f557e418bf982b35"
87  "6e903f937b9d530cca8250e07c98ca"
88  "03293958b2fa8da20f9c4e9f7684df"
89  "3e872b470dac5368697b664ce4c677"
90  "3feb8862707b5f01434182eb962a3a"
91  "a8a707c868caa6edee62dd8456172e"
92  "f0bd738fac3abb04e87bd3e9ea9c1b"
93  "d09f8720a994c6162cb42546f86e32"
94  "8de930387e8ecc2c68ec41bcf2",
95  "0401a76d5b0c42f557e418bf982b35"
96  "6e903f937b9d530cca8250e07c98bd"
97  "03293958b2fa8da20f9c4e9f7684df"
98  "3e872b470dac5368697b664ce4c677"
99  "3feb8862707b5f01434182eb962a3a"
100  "a8a707c868caa6edee62dd8456172e"
101  "f0bd738fac3abb04e87bd3e9ea9c1b"
102  "d09f8720a994c6162cb42546f86e32"
103  "8de930387e8ecc2c68ec41bcf2",
104  "8de930387e8ecc2c68ec41bcf2"};
105 }
constexpr folly::StringPiece kP521Key
Definition: TestUtil.h:91
constexpr folly::StringPiece kP384Key
Definition: TestUtil.h:57

The documentation for this class was generated from the following file: