Home
last modified time | relevance | path

Searched refs:OpenSSLKeyPair (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/rtc_base/
Dopenssl_identity.cc95 OpenSSLKeyPair* OpenSSLKeyPair::Generate(const KeyParams& key_params) { in Generate()
101 return new OpenSSLKeyPair(pkey); in Generate()
104 OpenSSLKeyPair* OpenSSLKeyPair::FromPrivateKeyPEMString( in FromPrivateKeyPEMString()
125 return new OpenSSLKeyPair(pkey); in FromPrivateKeyPEMString()
128 OpenSSLKeyPair::~OpenSSLKeyPair() { in ~OpenSSLKeyPair()
132 OpenSSLKeyPair* OpenSSLKeyPair::GetReference() { in GetReference()
134 return new OpenSSLKeyPair(pkey_); in GetReference()
137 void OpenSSLKeyPair::AddReference() { in AddReference()
141 std::string OpenSSLKeyPair::PrivateKeyToPEMString() const { in PrivateKeyToPEMString()
163 std::string OpenSSLKeyPair::PublicKeyToPEMString() const { in PublicKeyToPEMString()
[all …]
Dopenssl_identity.h30 class OpenSSLKeyPair final {
32 explicit OpenSSLKeyPair(EVP_PKEY* pkey) : pkey_(pkey) { in OpenSSLKeyPair() function
36 static OpenSSLKeyPair* Generate(const KeyParams& key_params);
39 static OpenSSLKeyPair* FromPrivateKeyPEMString(const std::string& pem_string);
41 virtual ~OpenSSLKeyPair();
43 virtual OpenSSLKeyPair* GetReference();
48 bool operator==(const OpenSSLKeyPair& other) const;
49 bool operator!=(const OpenSSLKeyPair& other) const;
56 RTC_DISALLOW_COPY_AND_ASSIGN(OpenSSLKeyPair);
89 OpenSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair,
[all …]
Dopenssl_certificate.h27 class OpenSSLKeyPair; variable
38 OpenSSLKeyPair* key_pair,
Dopenssl_certificate.cc127 OpenSSLKeyPair* key_pair, in Generate()