Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dopensslidentity.h29 class OpenSSLKeyPair {
31 explicit OpenSSLKeyPair(EVP_PKEY* pkey) : pkey_(pkey) { in OpenSSLKeyPair() function
35 static OpenSSLKeyPair* Generate(const KeyParams& key_params);
37 virtual ~OpenSSLKeyPair();
39 virtual OpenSSLKeyPair* GetReference();
48 RTC_DISALLOW_COPY_AND_ASSIGN(OpenSSLKeyPair);
60 static OpenSSLCertificate* Generate(OpenSSLKeyPair* key_pair,
118 OpenSSLIdentity(OpenSSLKeyPair* key_pair, OpenSSLCertificate* certificate);
122 scoped_ptr<OpenSSLKeyPair> key_pair_;
Dopensslidentity.cc164 OpenSSLKeyPair* OpenSSLKeyPair::Generate(const KeyParams& key_params) { in Generate()
170 return new OpenSSLKeyPair(pkey); in Generate()
173 OpenSSLKeyPair::~OpenSSLKeyPair() { in ~OpenSSLKeyPair()
177 OpenSSLKeyPair* OpenSSLKeyPair::GetReference() { in GetReference()
179 return new OpenSSLKeyPair(pkey_); in GetReference()
182 void OpenSSLKeyPair::AddReference() { in AddReference()
208 OpenSSLKeyPair* key_pair, const SSLIdentityParams& params) { in Generate()
393 OpenSSLIdentity::OpenSSLIdentity(OpenSSLKeyPair* key_pair, in OpenSSLIdentity()
404 OpenSSLKeyPair* key_pair = OpenSSLKeyPair::Generate(params.key_params); in GenerateInternal()
457 return new OpenSSLIdentity(new OpenSSLKeyPair(pkey), in FromPEMStrings()