Searched refs:AuthenticationMethod (Results 1 – 16 of 16) sorted by relevance
/external/chromium_org/remoting/protocol/ |
D | authentication_method.cc | 16 AuthenticationMethod AuthenticationMethod::Invalid() { in Invalid() 17 return AuthenticationMethod(); in Invalid() 21 AuthenticationMethod AuthenticationMethod::Spake2(HashFunction hash_function) { in Spake2() 22 return AuthenticationMethod(SPAKE2, hash_function); in Spake2() 26 AuthenticationMethod AuthenticationMethod::Spake2Pair() { in Spake2Pair() 27 return AuthenticationMethod(SPAKE2_PAIR, HMAC_SHA256); in Spake2Pair() 31 AuthenticationMethod AuthenticationMethod::ThirdParty() { in ThirdParty() 32 return AuthenticationMethod(THIRD_PARTY, NONE); in ThirdParty() 36 AuthenticationMethod AuthenticationMethod::FromString( in FromString() 47 return AuthenticationMethod::Invalid(); in FromString() [all …]
|
D | negotiating_authenticator_unittest.cc | 58 AuthenticationMethod::HashFunction hash_function, in InitAuthenticators() 60 std::string host_secret_hash = AuthenticationMethod::ApplyHashFunction( in InitAuthenticators() 66 std::vector<AuthenticationMethod> methods; in InitAuthenticators() 67 methods.push_back(AuthenticationMethod::Spake2Pair()); in InitAuthenticators() 68 methods.push_back(AuthenticationMethod::Spake2( in InitAuthenticators() 69 AuthenticationMethod::HMAC_SHA256)); in InitAuthenticators() 71 methods.push_back(AuthenticationMethod::Spake2( in InitAuthenticators() 72 AuthenticationMethod::NONE)); in InitAuthenticators() 117 void VerifyAccepted(const AuthenticationMethod& expected_method) { in VerifyAccepted() 153 AuthenticationMethod::HMAC_SHA256, false)); in TEST_F() [all …]
|
D | authentication_method.h | 22 class AuthenticationMethod { 37 static AuthenticationMethod Invalid(); 38 static AuthenticationMethod Spake2(HashFunction hash_function); 39 static AuthenticationMethod Spake2Pair(); 40 static AuthenticationMethod ThirdParty(); 44 static AuthenticationMethod FromString(const std::string& value); 66 bool operator ==(const AuthenticationMethod& other) const; 67 bool operator !=(const AuthenticationMethod& other) const { 72 AuthenticationMethod(); 73 AuthenticationMethod(MethodType type, HashFunction hash_function); [all …]
|
D | negotiating_host_authenticator.cc | 38 AuthenticationMethod::HashFunction hash_function, in CreateWithSharedSecret() 44 result->AddMethod(AuthenticationMethod::Spake2(hash_function)); in CreateWithSharedSecret() 46 result->AddMethod(AuthenticationMethod::Spake2Pair()); in CreateWithSharedSecret() 60 result->AddMethod(AuthenticationMethod::ThirdParty()); in CreateWithThirdPartyAuth() 73 AuthenticationMethod method = AuthenticationMethod::FromString(method_attr); in ProcessMessage() 88 method = AuthenticationMethod::Invalid(); in ProcessMessage() 107 AuthenticationMethod list_value = AuthenticationMethod::FromString(*it); in ProcessMessage() 160 if (current_method_.type() == AuthenticationMethod::THIRD_PARTY) { in CreateAuthenticator() 167 } else if (current_method_ == AuthenticationMethod::Spake2Pair() && in CreateAuthenticator() 180 DCHECK(current_method_.type() == AuthenticationMethod::SPAKE2 || in CreateAuthenticator() [all …]
|
D | negotiating_client_authenticator.cc | 28 const std::vector<AuthenticationMethod>& methods) in NegotiatingClientAuthenticator() 38 for (std::vector<AuthenticationMethod>::const_iterator it = methods.begin(); in NegotiatingClientAuthenticator() 53 AuthenticationMethod method = AuthenticationMethod::FromString(method_attr); in ProcessMessage() 100 for (std::vector<AuthenticationMethod>::iterator it = methods_.begin(); in GetNextMessage() 117 if (current_method_.type() == AuthenticationMethod::THIRD_PARTY) { in CreateAuthenticatorForCurrentMethod() 126 DCHECK(current_method_.type() == AuthenticationMethod::SPAKE2 || in CreateAuthenticatorForCurrentMethod() 127 current_method_.type() == AuthenticationMethod::SPAKE2_PAIR); in CreateAuthenticatorForCurrentMethod() 129 (current_method_.type() == AuthenticationMethod::SPAKE2_PAIR); in CreateAuthenticatorForCurrentMethod() 140 AuthenticationMethod::Spake2Pair()) != methods_.end()) { in CreatePreferredAuthenticator() 146 current_method_ = AuthenticationMethod::Spake2Pair(); in CreatePreferredAuthenticator() [all …]
|
D | negotiating_authenticator_base.h | 77 const AuthenticationMethod& current_method_for_testing() const { in current_method_for_testing() 88 void AddMethod(const AuthenticationMethod& method); 98 std::vector<AuthenticationMethod> methods_; 99 AuthenticationMethod current_method_;
|
D | pairing_client_authenticator.cc | 65 AuthenticationMethod::ApplyHashFunction( in OnPinFetched() 66 AuthenticationMethod::HMAC_SHA256, in OnPinFetched()
|
D | negotiating_authenticator_base.cc | 31 : current_method_(AuthenticationMethod::Invalid()), in NegotiatingAuthenticatorBase() 101 const AuthenticationMethod& method) { in AddMethod()
|
D | it2me_host_authenticator_factory.cc | 31 local_cert_, key_pair_, shared_secret_, AuthenticationMethod::NONE, NULL); in CreateAuthenticator()
|
D | negotiating_client_authenticator.h | 33 const std::vector<AuthenticationMethod>& methods);
|
D | negotiating_host_authenticator.h | 39 AuthenticationMethod::HashFunction hash_function,
|
/external/chromium_org/remoting/host/ |
D | pin_hash.cc | 16 std::string hash = protocol::AuthenticationMethod::ApplyHashFunction( in MakeHostPinHash() 17 protocol::AuthenticationMethod::HMAC_SHA256, host_id, pin); in MakeHostPinHash() 32 remoting::protocol::AuthenticationMethod::ApplyHashFunction( in VerifyHostPinHash()
|
/external/chromium_org/remoting/client/jni/ |
D | chromoting_jni_instance.cc | 75 std::vector<protocol::AuthenticationMethod> auth_methods; in ChromotingJniInstance() 76 auth_methods.push_back(protocol::AuthenticationMethod::Spake2Pair()); in ChromotingJniInstance() 77 auth_methods.push_back(protocol::AuthenticationMethod::Spake2( in ChromotingJniInstance() 78 protocol::AuthenticationMethod::HMAC_SHA256)); in ChromotingJniInstance() 79 auth_methods.push_back(protocol::AuthenticationMethod::Spake2( in ChromotingJniInstance() 80 protocol::AuthenticationMethod::NONE)); in ChromotingJniInstance() 81 auth_methods.push_back(protocol::AuthenticationMethod::ThirdParty()); in ChromotingJniInstance()
|
/external/chromium_org/remoting/test/ |
D | protocol_perftest.cc | 274 host_secret.hash_function = protocol::AuthenticationMethod::NONE; in StartHost() 314 std::vector<protocol::AuthenticationMethod> auth_methods; in StartClientAfterHost() 315 auth_methods.push_back(protocol::AuthenticationMethod::Spake2( in StartClientAfterHost() 316 protocol::AuthenticationMethod::NONE)); in StartClientAfterHost()
|
/external/chromium_org/remoting/client/ |
D | chromoting_client.cc | 25 using protocol::AuthenticationMethod;
|
/external/chromium_org/remoting/client/plugin/ |
D | chromoting_instance.cc | 167 std::vector<protocol::AuthenticationMethod>* auth_methods) { in ParseAuthMethods() 172 protocol::AuthenticationMethod authentication_method = in ParseAuthMethods() 173 protocol::AuthenticationMethod::FromString(*it); in ParseAuthMethods() 653 std::vector<protocol::AuthenticationMethod> auth_methods; in HandleConnect()
|