Searched refs:OpenSSLKeyPair (Results 1 – 10 of 10) sorted by relevance
/aosp_15_r20/external/webrtc/rtc_base/ |
H A D | openssl_key_pair.cc | 97 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 D | openssl_key_pair.h | 27 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 D | openssl_identity.cc | 37 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 D | boringssl_identity.cc | 35 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 D | openssl_identity.h | 60 OpenSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair, 62 OpenSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair, 69 std::unique_ptr<OpenSSLKeyPair> key_pair_;
|
H A D | boringssl_identity.h | 62 BoringSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair, 64 BoringSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair, 71 std::unique_ptr<OpenSSLKeyPair> key_pair_;
|
H A D | openssl_certificate.h | 26 class OpenSSLKeyPair; variable 37 OpenSSLKeyPair* key_pair,
|
H A D | boringssl_certificate.h | 28 class OpenSSLKeyPair; variable 39 OpenSSLKeyPair* key_pair,
|
H A D | openssl_certificate.cc | 126 OpenSSLKeyPair* key_pair, in Generate()
|
H A D | boringssl_certificate.cc | 259 OpenSSLKeyPair* key_pair, in Generate()
|