| /webrtc/turn/src/auth/ |
| H A D | mod.rs | 23 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 D | auth_test.rs | 21 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 D | integrity.rs | 69 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 D | mod.rs | 46 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 D | ice_parameters.rs | 8 pub password: String, field
|
| H A D | mod.rs | 164 params.password.clone(), in start() 174 params.password.clone(), in start() 210 self.gatherer.setting_engine.candidates.password.clone(), in restart()
|
| H A D | ice_gatherer.rs | 132 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 D | ice_server.rs | 40 url.password = self.credential.clone(); in urls()
|
| /webrtc/turn/src/client/ |
| H A D | client_test.rs | 19 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 D | mod.rs | 53 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 D | candidate_relay_test.rs | 74 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 D | mod.rs | 112 pub password: String, field 234 password: "".to_owned(), in parse_url()
|
| /webrtc/sdp/src/description/ |
| H A D | media.rs | 124 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 D | server_test.rs | 76 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 D | turn_client_udp.rs | 85 password: cred[1].to_string(), in main()
|
| /webrtc/ice/src/agent/ |
| H A D | agent_gather.rs | 735 if url.password.is_empty() { in gather_candidates_relay() 789 password: url.password, in gather_candidates_relay()
|
| H A D | agent_vnet_test.rs | 532 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 D | agent_gather_test.rs | 384 password: "pass".to_owned(), in test_vnet_gather_turn_connection_leak()
|
| /webrtc/webrtc/src/peer_connection/sdp/ |
| H A D | mod.rs | 340 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 D | allocation_manager_test.rs | 432 password: "pass".to_owned(), in create_client()
|
| /webrtc/webrtc/src/peer_connection/ |
| H A D | peer_connection_internal.rs | 610 password: remote_pwd, in start_transports()
|