Home
last modified time | relevance | path

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

/aosp_15_r20/external/webrtc/rtc_base/
H A Dopenssl_key_pair.cc97 std::unique_ptr<OpenSSLKeyPair> OpenSSLKeyPair::Generate( in Generate()
104 return std::make_unique<OpenSSLKeyPair>(pkey); in Generate()
107 std::unique_ptr<OpenSSLKeyPair> OpenSSLKeyPair::FromPrivateKeyPEMString( in FromPrivateKeyPEMString()
128 return std::make_unique<OpenSSLKeyPair>(pkey); in FromPrivateKeyPEMString()
131 OpenSSLKeyPair::~OpenSSLKeyPair() { in ~OpenSSLKeyPair()
135 std::unique_ptr<OpenSSLKeyPair> OpenSSLKeyPair::Clone() { in Clone()
137 return std::make_unique<OpenSSLKeyPair>(pkey_); in Clone()
140 void OpenSSLKeyPair::AddReference() { in AddReference()
144 std::string OpenSSLKeyPair::PrivateKeyToPEMString() const { in PrivateKeyToPEMString()
165 std::string OpenSSLKeyPair::PublicKeyToPEMString() const { in PublicKeyToPEMString()
[all …]
H A Dopenssl_key_pair.h27 class OpenSSLKeyPair final {
30 explicit OpenSSLKeyPair(EVP_PKEY* pkey) : pkey_(pkey) { in OpenSSLKeyPair() function
34 static std::unique_ptr<OpenSSLKeyPair> Generate(const KeyParams& key_params);
37 static std::unique_ptr<OpenSSLKeyPair> FromPrivateKeyPEMString(
40 ~OpenSSLKeyPair();
42 OpenSSLKeyPair(const OpenSSLKeyPair&) = delete;
43 OpenSSLKeyPair& operator=(const OpenSSLKeyPair&) = delete;
45 std::unique_ptr<OpenSSLKeyPair> Clone();
50 bool operator==(const OpenSSLKeyPair& other) const;
51 bool operator!=(const OpenSSLKeyPair& other) const;
H A Dopenssl_identity.cc37 std::unique_ptr<OpenSSLKeyPair> key_pair, in OpenSSLIdentity()
47 OpenSSLIdentity::OpenSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair, in OpenSSLIdentity()
58 auto key_pair = OpenSSLKeyPair::Generate(params.key_params); in CreateInternal()
102 auto key_pair = OpenSSLKeyPair::FromPrivateKeyPEMString(private_key); in CreateFromPEMStrings()
143 auto key_pair = OpenSSLKeyPair::FromPrivateKeyPEMString(private_key); in CreateFromPEMChainStrings()
H A Dboringssl_identity.cc35 std::unique_ptr<OpenSSLKeyPair> key_pair, in BoringSSLIdentity()
45 BoringSSLIdentity::BoringSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair, in BoringSSLIdentity()
56 auto key_pair = OpenSSLKeyPair::Generate(params.key_params); in CreateInternal()
101 auto key_pair = OpenSSLKeyPair::FromPrivateKeyPEMString(private_key); in CreateFromPEMStrings()
158 auto key_pair = OpenSSLKeyPair::FromPrivateKeyPEMString(private_key); in CreateFromPEMChainStrings()
H A Dopenssl_identity.h60 OpenSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair,
62 OpenSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair,
69 std::unique_ptr<OpenSSLKeyPair> key_pair_;
H A Dboringssl_identity.h62 BoringSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair,
64 BoringSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair,
71 std::unique_ptr<OpenSSLKeyPair> key_pair_;
H A Dopenssl_certificate.h26 class OpenSSLKeyPair; variable
37 OpenSSLKeyPair* key_pair,
H A Dboringssl_certificate.h28 class OpenSSLKeyPair; variable
39 OpenSSLKeyPair* key_pair,
H A Dopenssl_certificate.cc126 OpenSSLKeyPair* key_pair, in Generate()
H A Dboringssl_certificate.cc259 OpenSSLKeyPair* key_pair, in Generate()