Searched refs:key_pair (Results 1 – 4 of 4) sorted by relevance
208 OpenSSLKeyPair* key_pair, const SSLIdentityParams& params) { in Generate() argument214 X509* x509 = MakeCertificate(key_pair->pkey(), actual_params); in Generate()393 OpenSSLIdentity::OpenSSLIdentity(OpenSSLKeyPair* key_pair, in OpenSSLIdentity() argument395 : key_pair_(key_pair), certificate_(certificate) { in OpenSSLIdentity()396 ASSERT(key_pair != NULL); in OpenSSLIdentity()404 OpenSSLKeyPair* key_pair = OpenSSLKeyPair::Generate(params.key_params); in GenerateInternal() local405 if (key_pair) { in GenerateInternal()407 OpenSSLCertificate::Generate(key_pair, params); in GenerateInternal()409 return new OpenSSLIdentity(key_pair, certificate); in GenerateInternal()410 delete key_pair; in GenerateInternal()
60 static OpenSSLCertificate* Generate(OpenSSLKeyPair* key_pair,118 OpenSSLIdentity(OpenSSLKeyPair* key_pair, OpenSSLCertificate* certificate);
355 std::unique_ptr<crypto::RSAPrivateKey> key_pair( in TEST() local357 ASSERT_TRUE(key_pair.get()); in TEST()360 crypto::RSAPrivateKey::CreateFromKey(key_pair->key())); in TEST()365 ASSERT_TRUE(key_pair->ExportPrivateKey(&privkey)); in TEST()366 ASSERT_TRUE(key_pair->ExportPublicKey(&pubkey)); in TEST()
569 if (any([not isinstance(key_pair, list) for key_pair in hash_keys]) or570 any([len(key_pair) != 2 for key_pair in hash_keys]) or