webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
rtc::OpenSSLKeyPair Class Reference

#include <opensslidentity.h>

Public Member Functions

 OpenSSLKeyPair (EVP_PKEY *pkey)
 
virtual ~OpenSSLKeyPair ()
 
virtual OpenSSLKeyPairGetReference ()
 
EVP_PKEYpkey () const
 
std::string PrivateKeyToPEMString () const
 
std::string PublicKeyToPEMString () const
 
bool operator== (const OpenSSLKeyPair &other) const
 
bool operator!= (const OpenSSLKeyPair &other) const
 
 OpenSSLKeyPair (EVP_PKEY *pkey)
 
virtual ~OpenSSLKeyPair ()
 
virtual OpenSSLKeyPairGetReference ()
 
EVP_PKEYpkey () const
 
std::string PrivateKeyToPEMString () const
 
std::string PublicKeyToPEMString () const
 
bool operator== (const OpenSSLKeyPair &other) const
 
bool operator!= (const OpenSSLKeyPair &other) const
 

Static Public Member Functions

static OpenSSLKeyPairGenerate (const KeyParams &key_params)
 
static OpenSSLKeyPairFromPrivateKeyPEMString (const std::string &pem_string)
 
static OpenSSLKeyPairGenerate (const KeyParams &key_params)
 
static OpenSSLKeyPairFromPrivateKeyPEMString (const std::string &pem_string)
 

Constructor & Destructor Documentation

◆ OpenSSLKeyPair() [1/2]

rtc::OpenSSLKeyPair::OpenSSLKeyPair ( EVP_PKEY pkey)
inlineexplicit

◆ ~OpenSSLKeyPair() [1/2]

rtc::OpenSSLKeyPair::~OpenSSLKeyPair ( )
virtual

◆ OpenSSLKeyPair() [2/2]

rtc::OpenSSLKeyPair::OpenSSLKeyPair ( EVP_PKEY pkey)
inlineexplicit

◆ ~OpenSSLKeyPair() [2/2]

virtual rtc::OpenSSLKeyPair::~OpenSSLKeyPair ( )
virtual

Member Function Documentation

◆ FromPrivateKeyPEMString() [1/2]

OpenSSLKeyPair * rtc::OpenSSLKeyPair::FromPrivateKeyPEMString ( const std::string pem_string)
static

◆ FromPrivateKeyPEMString() [2/2]

static OpenSSLKeyPair* rtc::OpenSSLKeyPair::FromPrivateKeyPEMString ( const std::string pem_string)
static

◆ Generate() [1/2]

static OpenSSLKeyPair* rtc::OpenSSLKeyPair::Generate ( const KeyParams key_params)
static

◆ Generate() [2/2]

OpenSSLKeyPair * rtc::OpenSSLKeyPair::Generate ( const KeyParams key_params)
static

◆ GetReference() [1/2]

virtual OpenSSLKeyPair* rtc::OpenSSLKeyPair::GetReference ( )
virtual

◆ GetReference() [2/2]

OpenSSLKeyPair * rtc::OpenSSLKeyPair::GetReference ( )
virtual

◆ operator!=() [1/2]

bool rtc::OpenSSLKeyPair::operator!= ( const OpenSSLKeyPair other) const

◆ operator!=() [2/2]

bool rtc::OpenSSLKeyPair::operator!= ( const OpenSSLKeyPair other) const

◆ operator==() [1/2]

bool rtc::OpenSSLKeyPair::operator== ( const OpenSSLKeyPair other) const

◆ operator==() [2/2]

bool rtc::OpenSSLKeyPair::operator== ( const OpenSSLKeyPair other) const

◆ pkey() [1/2]

EVP_PKEY* rtc::OpenSSLKeyPair::pkey ( ) const
inline

◆ pkey() [2/2]

EVP_PKEY* rtc::OpenSSLKeyPair::pkey ( ) const
inline

◆ PrivateKeyToPEMString() [1/2]

std::string rtc::OpenSSLKeyPair::PrivateKeyToPEMString ( ) const

◆ PrivateKeyToPEMString() [2/2]

std::string rtc::OpenSSLKeyPair::PrivateKeyToPEMString ( ) const

◆ PublicKeyToPEMString() [1/2]

std::string rtc::OpenSSLKeyPair::PublicKeyToPEMString ( ) const

◆ PublicKeyToPEMString() [2/2]

std::string rtc::OpenSSLKeyPair::PublicKeyToPEMString ( ) const

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