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);
358 scoped_ptr<crypto::RSAPrivateKey> key_pair( in TEST() local360 ASSERT_TRUE(key_pair.get()); in TEST()363 crypto::RSAPrivateKey::CreateFromKey(key_pair->key())); in TEST()368 ASSERT_TRUE(key_pair->ExportPrivateKey(&privkey)); in TEST()369 ASSERT_TRUE(key_pair->ExportPublicKey(&pubkey)); in TEST()
175 key_pair = rs[0]