Home
last modified time | relevance | path

Searched refs:key_pair_ (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/remoting/host/
Dtoken_validator_factory_impl.cc48 key_pair_(key_pair), in TokenValidatorImpl()
52 DCHECK(key_pair_.get()); in TokenValidatorImpl()
72 key_pair_->GetPublicKey(), true) + in ValidateThirdPartyToken()
74 key_pair_->SignMessage(token), true) + in ValidateThirdPartyToken()
158 scoped_refptr<RsaKeyPair> key_pair_; member in remoting::TokenValidatorImpl
173 key_pair_(key_pair), in TokenValidatorFactoryImpl()
185 new TokenValidatorImpl(token_url_, token_validation_url_, key_pair_, in CreateTokenValidator()
Dregister_support_host_request.cc43 key_pair_(key_pair), in RegisterSupportHostRequest()
47 DCHECK(key_pair_.get()); in RegisterSupportHostRequest()
84 public_key->AddText(key_pair_->GetPublicKey()); in CreateRegistrationRequest()
101 std::string signature(key_pair_->SignMessage(message)); in CreateSignature()
Dregister_support_host_request_unittest.cc60 key_pair_ = RsaKeyPair::FromString(kTestRsaKeyPair); in SetUp()
61 ASSERT_TRUE(key_pair_.get()); in SetUp()
74 scoped_refptr<RsaKeyPair> key_pair_; member in remoting::RegisterSupportHostRequestTest
83 new RegisterSupportHostRequest(&signal_strategy_, key_pair_, in TEST_F()
Dhost_status_sender_unittest.cc45 key_pair_ = RsaKeyPair::FromString(kTestRsaKeyPair); in SetUp()
46 ASSERT_TRUE(key_pair_.get()); in SetUp()
49 kHostId, &signal_strategy_, key_pair_, kTestBotJid)); in SetUp()
63 scoped_refptr<RsaKeyPair> key_pair_; member in remoting::HostStatusSenderTest
Dhost_status_sender.cc45 key_pair_(key_pair), in HostStatusSender()
48 DCHECK(key_pair_.get()); in HostStatusSender()
156 std::string signature(key_pair_->SignMessage(message)); in CreateSignature()
Dtoken_validator_factory_impl_unittest.cc60 key_pair_ = RsaKeyPair::FromString(kTestRsaKeyPair); in SetUp()
64 GURL(kTokenUrl), GURL(kTokenValidationUrl), key_pair_, in SetUp()
87 scoped_refptr<RsaKeyPair> key_pair_; member in remoting::TokenValidatorFactoryImplTest
Dheartbeat_sender_unittest.cc68 key_pair_ = RsaKeyPair::FromString(kTestRsaKeyPair); in SetUp()
69 ASSERT_TRUE(key_pair_.get()); in SetUp()
81 &mock_listener_, kHostId, &signal_strategy_, key_pair_, kTestBotJid)); in SetUp()
96 scoped_refptr<RsaKeyPair> key_pair_; member in remoting::HeartbeatSenderTest
Dremoting_me2me_host.cc262 scoped_refptr<RsaKeyPair> key_pair_; member in remoting::HostProcess
503 std::string local_certificate = key_pair_->GenerateCertificate(); in CreateAuthenticatorFactory()
519 use_service_account_, host_owner_, local_certificate, key_pair_, in CreateAuthenticatorFactory()
525 token_url_, token_validation_url_, key_pair_, in CreateAuthenticatorFactory()
528 use_service_account_, host_owner_, local_certificate, key_pair_, in CreateAuthenticatorFactory()
692 key_pair_ = RsaKeyPair::FromString(key_base64); in ApplyConfig()
693 if (!key_pair_.get()) { in ApplyConfig()
1016 this, host_id_, signal_strategy_.get(), key_pair_, in StartHost()
1020 host_id_, signal_strategy_.get(), key_pair_, directory_bot_jid_)); in StartHost()
Dheartbeat_sender.cc59 key_pair_(key_pair), in HeartbeatSender()
68 DCHECK(key_pair_.get()); in HeartbeatSender()
271 std::string signature(key_pair_->SignMessage(message)); in CreateSignature()
Dtoken_validator_factory_impl.h42 scoped_refptr<RsaKeyPair> key_pair_; variable
/external/chromium_org/remoting/protocol/
Dme2me_host_authenticator_factory.cc75 result->key_pair_ = key_pair; in CreateWithSharedSecret()
96 result->key_pair_ = key_pair; in CreateWithThirdPartyAuth()
145 if (!local_cert_.empty() && key_pair_.get()) { in CreateAuthenticator()
148 local_cert_, key_pair_, in CreateAuthenticator()
154 local_cert_, key_pair_, shared_secret_hash_.value, in CreateAuthenticator()
Dpairing_host_authenticator.cc25 key_pair_(key_pair), in PairingHostAuthenticator()
58 local_cert_, key_pair_, pin_, initial_state)); in CreateV2AuthenticatorWithPIN()
108 local_cert_, key_pair_, paired_secret, WAITING_MESSAGE); in ProcessMessageWithPairing()
112 local_cert_, key_pair_, pin_, MESSAGE_READY); in ProcessMessageWithPairing()
Dssl_hmac_channel_authenticator_unittest.cc68 key_pair_ = RsaKeyPair::FromString(key_base64); in SetUp()
69 ASSERT_TRUE(key_pair_.get()); in SetUp()
126 scoped_refptr<RsaKeyPair> key_pair_; member in remoting::protocol::SslHmacChannelAuthenticatorTest
152 host_cert_, key_pair_, kTestSharedSecret); in TEST_F()
172 host_cert_, key_pair_, kTestSharedSecret); in TEST_F()
Dit2me_host_authenticator_factory.cc19 key_pair_(key_pair), in It2MeHostAuthenticatorFactory()
31 local_cert_, key_pair_, shared_secret_, AuthenticationMethod::NONE, NULL); in CreateAuthenticator()
Dauthenticator_test_base.cc57 key_pair_ = RsaKeyPair::FromString(key_base64); in SetUp()
58 ASSERT_TRUE(key_pair_.get()); in SetUp()
59 host_public_key_ = key_pair_->GetPublicKey(); in SetUp()
Dthird_party_host_authenticator.cc25 key_pair_(key_pair), in ThirdPartyHostAuthenticator()
89 local_cert_, key_pair_, shared_secret, WAITING_MESSAGE); in OnThirdPartyTokenValidated()
Dit2me_host_authenticator_factory.h40 scoped_refptr<RsaKeyPair> key_pair_; variable
Dpairing_host_authenticator.h51 scoped_refptr<RsaKeyPair> key_pair_; variable
Dme2me_host_authenticator_factory.h64 scoped_refptr<RsaKeyPair> key_pair_; variable
Dthird_party_host_authenticator.h90 scoped_refptr<RsaKeyPair> key_pair_; variable
/external/chromium_org/net/quic/crypto/
Dp256_key_exchange_nss.cc33 : key_pair_(key_pair) { in P256KeyExchange()
166 DCHECK(key_pair_.get()); in CalculateSharedKey()
167 DCHECK(key_pair_->public_key()); in CalculateSharedKey()
175 key_pair_->public_key()->u.ec.DEREncodedParams.len; in CalculateSharedKey()
177 key_pair_->public_key()->u.ec.DEREncodedParams.data; in CalculateSharedKey()
192 key_pair_->key(), in CalculateSharedKey()
Dp256_key_exchange.h72 scoped_ptr<crypto::ECPrivateKey> key_pair_; variable
/external/chromium/third_party/libjingle/source/talk/base/
Dopensslidentity.h114 return new OpenSSLIdentity(key_pair_->GetReference(), in GetReference()
124 : key_pair_(key_pair), certificate_(certificate) { in OpenSSLIdentity()
129 scoped_ptr<OpenSSLKeyPair> key_pair_; variable
/external/chromium_org/third_party/libjingle/source/talk/base/
Dopensslidentity.h139 return new OpenSSLIdentity(key_pair_->GetReference(), in GetReference()
149 : key_pair_(key_pair), certificate_(certificate) { in OpenSSLIdentity()
154 scoped_ptr<OpenSSLKeyPair> key_pair_; variable
/external/chromium_org/remoting/host/setup/
Dhost_starter.cc113 key_pair_ = RsaKeyPair::Generate(); in OnGetUserEmailResponse()
120 host_id_, host_name_, key_pair_->GetPublicKey(), host_client_id, in OnGetUserEmailResponse()
168 config->SetString("private_key", key_pair_->ToString()); in StartHostProcess()

12