Home
last modified time | relevance | path

Searched refs:AuthenticationMethod (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/remoting/protocol/
Dauthentication_method.cc16 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 …]
Dnegotiating_authenticator_unittest.cc58 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 …]
Dauthentication_method.h22 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 …]
Dnegotiating_host_authenticator.cc38 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 …]
Dnegotiating_client_authenticator.cc28 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 …]
Dnegotiating_authenticator_base.h77 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_;
Dpairing_client_authenticator.cc65 AuthenticationMethod::ApplyHashFunction( in OnPinFetched()
66 AuthenticationMethod::HMAC_SHA256, in OnPinFetched()
Dnegotiating_authenticator_base.cc31 : current_method_(AuthenticationMethod::Invalid()), in NegotiatingAuthenticatorBase()
101 const AuthenticationMethod& method) { in AddMethod()
Dit2me_host_authenticator_factory.cc31 local_cert_, key_pair_, shared_secret_, AuthenticationMethod::NONE, NULL); in CreateAuthenticator()
Dnegotiating_client_authenticator.h33 const std::vector<AuthenticationMethod>& methods);
Dnegotiating_host_authenticator.h39 AuthenticationMethod::HashFunction hash_function,
/external/chromium_org/remoting/host/
Dpin_hash.cc16 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/
Dchromoting_jni_instance.cc75 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/
Dprotocol_perftest.cc274 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/
Dchromoting_client.cc25 using protocol::AuthenticationMethod;
/external/chromium_org/remoting/client/plugin/
Dchromoting_instance.cc167 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()