join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
TlsKeyTest Class Reference

Class used to test TLS key API. More...

Inheritance diagram for TlsKeyTest:
Collaboration diagram for TlsKeyTest:

Static Public Member Functions

static void SetUpTestCase ()
 Set up test case.
 
static void TearDownTestCase ()
 Tear down test case.
 
static void writeFile (const std::string &path, const std::string &data)
 Write a file on file system.
 

Static Protected Attributes

static const std::string ecPriKeyPath = "/tmp/eckey.pem"
 key paths.
 
static const std::string ecPubKeyPath = "/tmp/ec.pub"
 
static const std::string ecPriKey
 keys.
 
static const std::string ecPubKey
 

Detailed Description

Class used to test TLS key API.

Member Function Documentation

◆ SetUpTestCase()

static void TlsKeyTest::SetUpTestCase ( )
inlinestatic

Set up test case.

◆ TearDownTestCase()

static void TlsKeyTest::TearDownTestCase ( )
inlinestatic

Tear down test case.

◆ writeFile()

static void TlsKeyTest::writeFile ( const std::string & path,
const std::string & data )
inlinestatic

Write a file on file system.

Parameters
pathFile location.
datastring to write.

Member Data Documentation

◆ ecPriKey

const std::string TlsKeyTest::ecPriKey
staticprotected
Initial value:
= "-----BEGIN EC PRIVATE KEY-----\n"
"MHcCAQEEINr5bOw4vbLCnIAGREN73D+Ne/hn75zgoH/Cv1wxUlQboAoGCCqGSM49\n"
"AwEHoUQDQgAEO1le+TMvvryHdQVr72RgVwBLkfT4fhMekHFp+3JUqCaod0it/h/j\n"
"OPZPc69Xj/kLNG816GoqxpEZC+u4qrbFNg==\n"
"-----END EC PRIVATE KEY-----\n"

keys.

◆ ecPriKeyPath

const std::string TlsKeyTest::ecPriKeyPath = "/tmp/eckey.pem"
staticprotected

key paths.

◆ ecPubKey

const std::string TlsKeyTest::ecPubKey
staticprotected
Initial value:
= "-----BEGIN PUBLIC KEY-----\n"
"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEO1le+TMvvryHdQVr72RgVwBLkfT4\n"
"fhMekHFp+3JUqCaod0it/h/jOPZPc69Xj/kLNG816GoqxpEZC+u4qrbFNg==\n"
"-----END PUBLIC KEY-----\n"

◆ ecPubKeyPath

const std::string TlsKeyTest::ecPubKeyPath = "/tmp/ec.pub"
staticprotected

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