Home
last modified time | relevance | path

Searched refs:password (Results 1 – 21 of 21) sorted by relevance

/webrtc/turn/src/auth/
H A Dmod.rs23 let password = long_term_credentials(&username, shared_secret); in generate_long_term_credentials() localVariable
24 Ok((username, password)) in generate_long_term_credentials()
32 let password = hmac::sign(&mac, username.as_bytes()).as_ref().to_vec(); in long_term_credentials() localVariable
33 base64::encode(password) in long_term_credentials()
37 pub fn generate_auth_key(username: &str, realm: &str, password: &str) -> Vec<u8> { in generate_auth_key()
65 let password = long_term_credentials(username, &self.shared_secret); in auth_handle() localVariable
66 Ok(generate_auth_key(username, realm, &password)) in auth_handle()
H A Dauth_test.rs21 let password = "HWbnm25GwSj6jiHTEDMTO5D7aBw="; in test_generate_auth_key() localVariable
27 let actual_key = generate_auth_key(username, realm, password); in test_generate_auth_key()
75 let (username, password) = in test_new_long_term_auth_handler()
84 password, in test_new_long_term_auth_handler()
/webrtc/stun/src/
H A Dintegrity.rs69 pub fn new_long_term_integrity(username: String, realm: String, password: String) -> Self { in new_long_term_integrity()
70 let s = vec![username, realm, password].join(CREDENTIALS_SEP); in new_long_term_integrity()
80 pub fn new_short_term_integrity(password: String) -> Self { in new_short_term_integrity()
81 MessageIntegrity(password.as_bytes().to_vec()) in new_short_term_integrity()
/webrtc/webrtc/src/api/setting_engine/
H A Dmod.rs46 pub password: String, field
240 pub fn set_ice_credentials(&mut self, username_fragment: String, password: String) { in set_ice_credentials()
242 self.candidates.password = password; in set_ice_credentials()
/webrtc/webrtc/src/ice_transport/
H A Dice_parameters.rs8 pub password: String, field
H A Dmod.rs164 params.password.clone(), in start()
174 params.password.clone(), in start()
210 self.gatherer.setting_engine.candidates.password.clone(), in restart()
H A Dice_gatherer.rs132 local_pwd: self.setting_engine.candidates.password.clone(), in create_agent()
234 password: pwd, in get_local_parameters()
363 !params.username_fragment.is_empty() && !params.password.is_empty(), in test_new_ice_gatherer_success()
H A Dice_server.rs40 url.password = self.credential.clone(); in urls()
/webrtc/turn/src/client/
H A Dclient_test.rs19 password: String::new(), in create_listening_test_client()
40 password: String::new(), in create_listening_test_client_with_stun_serv()
163 password: "pass".to_owned(), in test_client_nonce_expiration()
H A Dmod.rs53 pub password: String, field
66 password: String, field
194 password: config.password, in new()
516 self.password.clone(), in allocate()
/webrtc/ice/src/candidate/
H A Dcandidate_relay_test.rs74 password: "password".to_owned(), in test_relay_only_connection()
92 password: "password".to_owned(), in test_relay_only_connection()
/webrtc/ice/src/url/
H A Dmod.rs112 pub password: String, field
234 password: "".to_owned(), in parse_url()
/webrtc/sdp/src/description/
H A Dmedia.rs124 pub fn with_ice_credentials(self, username: String, password: String) -> Self { in with_ice_credentials()
126 .with_value_attribute("ice-pwd".to_string(), password) in with_ice_credentials()
/webrtc/turn/src/server/
H A Dserver_test.rs76 password: String::new(), in test_server_simple()
230 password: String::new(), in test_server_vnet_send_binding_request()
267 password: "pass".to_owned(), in test_server_vnet_echo_via_relay()
/webrtc/turn/examples/
H A Dturn_client_udp.rs85 password: cred[1].to_string(), in main()
/webrtc/ice/src/agent/
H A Dagent_gather.rs735 if url.password.is_empty() { in gather_candidates_relay()
789 password: url.password, in gather_candidates_relay()
H A Dagent_vnet_test.rs532 password: "pass".to_owned(), in test_connectivity_vnet_full_cone_nats_on_both_ends()
594 password: "pass".to_owned(), in test_connectivity_vnet_symmetric_nats_on_both_ends()
H A Dagent_gather_test.rs384 password: "pass".to_owned(), in test_vnet_gather_turn_connection_leak()
/webrtc/webrtc/src/peer_connection/sdp/
H A Dmod.rs340 params.ice_params.password, in add_data_media_section()
431 ice_params.password.clone(), in add_transceiver_sdp()
/webrtc/turn/src/allocation/allocation_manager/
H A Dallocation_manager_test.rs432 password: "pass".to_owned(), in create_client()
/webrtc/webrtc/src/peer_connection/
H A Dpeer_connection_internal.rs610 password: remote_pwd, in start_transports()