Lines Matching refs:key_pair
37 std::unique_ptr<OpenSSLKeyPair> key_pair, in OpenSSLIdentity() argument
39 : key_pair_(std::move(key_pair)) { in OpenSSLIdentity()
47 OpenSSLIdentity::OpenSSLIdentity(std::unique_ptr<OpenSSLKeyPair> key_pair, in OpenSSLIdentity() argument
49 : key_pair_(std::move(key_pair)), cert_chain_(std::move(cert_chain)) { in OpenSSLIdentity()
58 auto key_pair = OpenSSLKeyPair::Generate(params.key_params); in CreateInternal() local
59 if (key_pair) { in CreateInternal()
61 OpenSSLCertificate::Generate(key_pair.get(), params)); in CreateInternal()
64 new OpenSSLIdentity(std::move(key_pair), std::move(certificate))); in CreateInternal()
102 auto key_pair = OpenSSLKeyPair::FromPrivateKeyPEMString(private_key); in CreateFromPEMStrings() local
103 if (!key_pair) { in CreateFromPEMStrings()
109 new OpenSSLIdentity(std::move(key_pair), std::move(cert))); in CreateFromPEMStrings()
143 auto key_pair = OpenSSLKeyPair::FromPrivateKeyPEMString(private_key); in CreateFromPEMChainStrings() local
144 if (!key_pair) { in CreateFromPEMChainStrings()
150 std::move(key_pair), std::make_unique<SSLCertChain>(std::move(certs)))); in CreateFromPEMChainStrings()