/external/chromium_org/crypto/ |
H A D | rsa_private_key_nss_unittest.cc | 29 scoped_ptr<crypto::RSAPrivateKey> key_pair(RSAPrivateKey::Create(256)); 32 ASSERT_TRUE(key_pair->ExportPublicKey(&public_key)); 37 EXPECT_EQ(key_pair->key_->pkcs11ID, key_pair_2->key_->pkcs11ID); 42 scoped_ptr<crypto::RSAPrivateKey> key_pair(RSAPrivateKey::Create(256)); 45 ASSERT_TRUE(key_pair->ExportPublicKey(&public_key)); 48 if (key_pair->key_) { 49 PK11_DestroyTokenObject(key_pair->key_->pkcs11Slot, 50 key_pair->key_->pkcs11ID); 52 if (key_pair->public_key_) { 53 PK11_DestroyTokenObject(key_pair [all...] |
/external/chromium_org/remoting/base/ |
H A D | rsa_key_pair_unittest.cc | 69 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); local 71 std::string signature_base64 = key_pair->SignMessage(kTestMessage); 77 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::Generate(); local 78 ASSERT_TRUE(key_pair.get()); 79 ASSERT_NE(key_pair->ToString(), ""); 80 ASSERT_NE(key_pair->GetPublicKey(), ""); 81 ASSERT_NE(key_pair->SignMessage(kTestMessage), "");
|
/external/chromium_org/remoting/protocol/ |
H A D | it2me_host_authenticator_factory.cc | 16 scoped_refptr<RsaKeyPair> key_pair, 19 key_pair_(key_pair), 14 It2MeHostAuthenticatorFactory( const std::string& local_cert, scoped_refptr<RsaKeyPair> key_pair, const std::string& shared_secret) argument
|
H A D | negotiating_host_authenticator.h | 37 scoped_refptr<RsaKeyPair> key_pair, 45 scoped_refptr<RsaKeyPair> key_pair, 56 scoped_refptr<RsaKeyPair> key_pair);
|
H A D | negotiating_host_authenticator.cc | 27 scoped_refptr<RsaKeyPair> key_pair) 30 local_key_pair_(key_pair) { 36 scoped_refptr<RsaKeyPair> key_pair, 41 new NegotiatingHostAuthenticator(local_cert, key_pair)); 55 scoped_refptr<RsaKeyPair> key_pair, 58 new NegotiatingHostAuthenticator(local_cert, key_pair)); 25 NegotiatingHostAuthenticator( const std::string& local_cert, scoped_refptr<RsaKeyPair> key_pair) argument 34 CreateWithSharedSecret( const std::string& local_cert, scoped_refptr<RsaKeyPair> key_pair, const std::string& shared_secret_hash, AuthenticationMethod::HashFunction hash_function, scoped_refptr<PairingRegistry> pairing_registry) argument 53 CreateWithThirdPartyAuth( const std::string& local_cert, scoped_refptr<RsaKeyPair> key_pair, scoped_ptr<TokenValidator> token_validator) argument
|
H A D | it2me_host_authenticator_factory.h | 28 scoped_refptr<RsaKeyPair> key_pair,
|
H A D | me2me_host_authenticator_factory.cc | 72 scoped_refptr<RsaKeyPair> key_pair, 80 result->key_pair_ = key_pair; 93 scoped_refptr<RsaKeyPair> key_pair, 101 result->key_pair_ = key_pair; 68 CreateWithSharedSecret( bool use_service_account, const std::string& host_owner, const std::string& local_cert, scoped_refptr<RsaKeyPair> key_pair, const SharedSecretHash& shared_secret_hash, scoped_refptr<PairingRegistry> pairing_registry) argument 89 CreateWithThirdPartyAuth( bool use_service_account, const std::string& host_owner, const std::string& local_cert, scoped_refptr<RsaKeyPair> key_pair, scoped_ptr<TokenValidatorFactory> token_validator_factory) argument
|
H A D | me2me_host_authenticator_factory.h | 34 scoped_refptr<RsaKeyPair> key_pair, 43 scoped_refptr<RsaKeyPair> key_pair,
|
H A D | third_party_host_authenticator.h | 31 // Creates a third-party host authenticator. |local_cert| and |key_pair| are 36 scoped_refptr<RsaKeyPair> key_pair,
|
H A D | pairing_host_authenticator.cc | 21 scoped_refptr<RsaKeyPair> key_pair, 25 key_pair_(key_pair), 18 PairingHostAuthenticator( scoped_refptr<PairingRegistry> pairing_registry, const std::string& local_cert, scoped_refptr<RsaKeyPair> key_pair, const std::string& pin) argument
|
H A D | third_party_host_authenticator.cc | 22 scoped_refptr<RsaKeyPair> key_pair, 26 key_pair_(key_pair), 20 ThirdPartyHostAuthenticator( const std::string& local_cert, scoped_refptr<RsaKeyPair> key_pair, scoped_ptr<TokenValidator> token_validator) argument
|
H A D | pairing_host_authenticator.h | 25 scoped_refptr<RsaKeyPair> key_pair,
|
H A D | v2_authenticator.h | 33 scoped_refptr<RsaKeyPair> key_pair,
|
/external/chromium_org/remoting/host/ |
H A D | token_validator_factory_impl.cc | 42 scoped_refptr<RsaKeyPair> key_pair, 62 scoped_refptr<RsaKeyPair> key_pair, 69 key_pair_(key_pair) { 110 scoped_refptr<RsaKeyPair> key_pair, 113 key_pair_(key_pair), 60 TokenValidatorImpl( const ThirdPartyAuthConfig& third_party_auth_config, scoped_refptr<RsaKeyPair> key_pair, const std::string& local_jid, const std::string& remote_jid, scoped_refptr<net::URLRequestContextGetter> request_context_getter) argument 108 TokenValidatorFactoryImpl( const ThirdPartyAuthConfig& third_party_auth_config, scoped_refptr<RsaKeyPair> key_pair, scoped_refptr<net::URLRequestContextGetter> request_context_getter) argument
|
H A D | token_validator_factory_impl.h | 28 scoped_refptr<RsaKeyPair> key_pair,
|
H A D | host_status_sender_unittest.cc | 188 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); local 189 ASSERT_TRUE(key_pair.get()); 192 key_pair->SignMessage(message);
|
H A D | register_support_host_request_unittest.cc | 122 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); local 123 ASSERT_TRUE(key_pair.get()); 126 key_pair->SignMessage(std::string(kTestJid) + ' ' + time_str);
|
H A D | host_status_sender.h | 60 scoped_refptr<RsaKeyPair> key_pair,
|
H A D | register_support_host_request.h | 42 // |signal_strategy| and |key_pair| must outlive this 50 scoped_refptr<RsaKeyPair> key_pair,
|
/external/chromium_org/net/quic/crypto/ |
H A D | p256_key_exchange_nss.cc | 31 P256KeyExchange::P256KeyExchange(crypto::ECPrivateKey* key_pair, argument 33 : key_pair_(key_pair) { 65 scoped_ptr<crypto::ECPrivateKey> key_pair( 72 if (!key_pair.get()) { 78 SECKEYPublicKey* public_key = key_pair->public_key(); 103 return new P256KeyExchange(key_pair.release(), 109 scoped_ptr<crypto::ECPrivateKey> key_pair(crypto::ECPrivateKey::Create()); 111 if (!key_pair.get()) { 117 if (!key_pair->ExportEncryptedPrivateKey(kExportPassword, 128 if (!key_pair [all...] |
H A D | p256_key_exchange.h | 66 // P256KeyExchange takes ownership of |key_pair|, and expects 68 P256KeyExchange(crypto::ECPrivateKey* key_pair, const uint8* public_key);
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_creator.cc | 89 crypto::RSAPrivateKey* key_pair, 92 if (!key_pair->ExportPublicKey(&public_key_bytes)) { 149 scoped_ptr<crypto::RSAPrivateKey> key_pair( 151 if (!key_pair) { 158 if (!key_pair->ExportPrivateKey(&private_key_vector)) { 190 return key_pair.release(); 300 scoped_ptr<crypto::RSAPrivateKey> key_pair; local 302 key_pair.reset(ReadInputKey(private_key_path)); 304 key_pair.reset(GenerateKey(output_private_key_path)); 305 if (!key_pair) 88 ValidateManifest(const base::FilePath& extension_dir, crypto::RSAPrivateKey* key_pair, int run_flags) argument [all...] |
H A D | extension_creator.h | 69 crypto::RSAPrivateKey* key_pair,
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | opensslidentity.h | 63 static OpenSSLCertificate* Generate(OpenSSLKeyPair* key_pair, 132 OpenSSLIdentity(OpenSSLKeyPair* key_pair, argument 134 : key_pair_(key_pair), certificate_(certificate) { 135 ASSERT(key_pair != NULL);
|
H A D | opensslidentity.cc | 176 OpenSSLKeyPair* key_pair, const SSLIdentityParams& params) { 182 X509* x509 = MakeCertificate(key_pair->pkey(), actual_params); 296 OpenSSLKeyPair *key_pair = OpenSSLKeyPair::Generate(); local 297 if (key_pair) { 299 key_pair, params); 301 return new OpenSSLIdentity(key_pair, certificate); 302 delete key_pair; 175 Generate( OpenSSLKeyPair* key_pair, const SSLIdentityParams& params) argument
|