| /webrtc/webrtc/src/peer_connection/sdp/ |
| H A D | sdp_test.rs | 20 key: "fingerprint".to_owned(), in test_extract_fingerprint() 64 key: "fingerprint".to_owned(), in test_extract_fingerprint() 81 key: "fingerprint".to_owned(), in test_extract_fingerprint() 134 key: "ice-pwd".to_owned(), in test_extract_ice_details() 158 key: "ice-pwd".to_owned(), in test_extract_ice_details() 199 key: "ice-ufrag".to_owned(), in test_extract_ice_details() 229 key: "ice-pwd".to_owned(), in test_extract_ice_details() 991 key: "sendonly".to_owned(), in test_get_rids() 1020 key: "rtpmap".to_owned(), in test_codecs_from_media_description() 1109 key: "extmap".to_owned(), in test_rtp_extensions_from_media_description() [all …]
|
| /webrtc/turn/src/client/ |
| H A D | transaction.rs | 106 pub key: String, field 116 pub key: String, field 129 key: String::new(), in default() 153 key: config.key, in new() 171 let (n_rtx, interval, key) = (self.n_rtx.clone(), self.interval.clone(), self.key.clone()); in start_rtx_timer() 249 self.tr_map.insert(key, tr); in insert() 254 pub fn find(&self, key: &str) -> Option<&Transaction> { in find() 255 self.tr_map.get(key) in find() 259 self.tr_map.get_mut(key) in get() 263 pub fn delete(&mut self, key: &str) -> Option<Transaction> { in delete() [all …]
|
| /webrtc/sdp/src/description/ |
| H A D | session.rs | 361 if a.key == key { in attribute() 584 if &key == b"v=" { in s1() 595 if &key == b"o=" { in s2() 606 if &key == b"s=" { in s3() 617 match key.as_slice() { in s4() 639 match key.as_slice() { in s5() 652 match key.as_slice() { in s6() 669 match key.as_slice() { in s7() 688 match key.as_slice() { in s8() 708 match key.as_slice() { in s9() [all …]
|
| H A D | common.rs | 70 pub key: String, field 77 write!(f, "{}:{}", self.key, value) in fmt() 79 write!(f, "{}", self.key) in fmt() 86 pub fn new(key: String, value: Option<String>) -> Self { in new() 87 Attribute { key, value } in new() 92 self.key.as_str() == "candidate" in is_ice_candidate()
|
| H A D | media.rs | 63 pub fn attribute(&self, key: &str) -> Option<Option<&str>> { in attribute() 65 if a.key == key { in attribute() 107 pub fn with_property_attribute(mut self, key: String) -> Self { in with_property_attribute() 108 self.attributes.push(Attribute::new(key, None)); in with_property_attribute() 113 pub fn with_value_attribute(mut self, key: String, value: String) -> Self { in with_value_attribute() 114 self.attributes.push(Attribute::new(key, Some(value))); in with_value_attribute()
|
| /webrtc/webrtc/src/rtp_transceiver/fmtp/ |
| H A D | mod.rs | 23 fn parameter(&self, key: &str) -> Option<&String>; in parameter() 40 let key = pp[0].to_lowercase(); in parse() localVariable 46 parameters.insert(key, value); in parse()
|
| /webrtc/dtls/src/crypto/ |
| H A D | crypto_ccm.rs | 85 let key = GenericArray::from_slice(local_key); in new() localVariable 87 CryptoCcmTagLen::CryptoCcmTagLength => CryptoCcmType::CryptoCcm(AesCcm::new(key)), in new() 88 CryptoCcmTagLen::CryptoCcm8TagLength => CryptoCcmType::CryptoCcm8(AesCcm8::new(key)), in new() 91 let key = GenericArray::from_slice(remote_key); in new() localVariable 93 CryptoCcmTagLen::CryptoCcmTagLength => CryptoCcmType::CryptoCcm(AesCcm::new(key)), in new() 94 CryptoCcmTagLen::CryptoCcm8TagLength => CryptoCcmType::CryptoCcm8(AesCcm8::new(key)), in new()
|
| H A D | crypto_gcm.rs | 41 let key = GenericArray::from_slice(local_key); in new() localVariable 42 let local_gcm = Aes128Gcm::new(key); in new() 44 let key = GenericArray::from_slice(remote_key); in new() localVariable 45 let remote_gcm = Aes128Gcm::new(key); in new()
|
| H A D | crypto_test.rs | 109 let key = vec![ in test_ccm_encryption_and_decryption() localVariable 115 let ccm = CryptoCcm::new(&CryptoCcmTagLen::CryptoCcmTagLength, &key, &iv, &key, &iv); in test_ccm_encryption_and_decryption()
|
| /webrtc/srtp/src/cipher/ |
| H A D | cipher_aes_cm_hmac_sha1.rs | 190 let key = GenericArray::from_slice(&self.srtp_session_key); in encrypt_rtp() localVariable 192 let mut stream = Aes128Ctr::new(key, nonce); in encrypt_rtp() 239 let key = GenericArray::from_slice(&self.srtp_session_key); in decrypt_rtp() localVariable 241 let mut stream = Aes128Ctr::new(key, nonce); in decrypt_rtp() 264 let key = GenericArray::from_slice(&self.srtcp_session_key); in encrypt_rtcp() localVariable 266 let mut stream = Aes128Ctr::new(key, nonce); in encrypt_rtcp() 321 let key = GenericArray::from_slice(&self.srtcp_session_key); in decrypt_rtcp() localVariable 323 let mut stream = Aes128Ctr::new(key, nonce); in decrypt_rtcp()
|
| /webrtc/webrtc/src/rtp_transceiver/fmtp/generic/ |
| H A D | mod.rs | 51 fn parameter(&self, key: &str) -> Option<&String> { in parameter() 52 self.parameters.get(key) in parameter()
|
| /webrtc/ice/src/url/ |
| H A D | mod.rs | 192 if let Some((key, value)) = q_args.next() { in parse_url() 193 if key == Cow::Borrowed("transport") { in parse_url() 210 if let Some((key, value)) = q_args.next() { in parse_url() 211 if key == Cow::Borrowed("transport") { in parse_url()
|
| /webrtc/ice/src/udp_mux/ |
| H A D | mod.rs | 112 key: ufrag.into(), in create_muxed_conn() 313 let key = conn.key(); in register_conn_for_address() localVariable 320 if e.key() != key { in register_conn_for_address() 328 log::debug!("Registered {} for {}", addr, key); in register_conn_for_address()
|
| H A D | udp_mux_conn.rs | 28 pub key: String, field 63 pub fn key(&self) -> &str { in key() method 64 &self.inner.params.key in key()
|
| /webrtc/dtls/examples/certificates/ |
| H A D | README.md | 15 $ openssl req -key "${SERVER_NAME}.pem" -new -sha256 -subj '/C=NL' -out "${SERVER_NAME}.csr" 21 $ openssl req -key "${CLIENT_NAME}.pem" -new -sha256 -subj '/C=NL' -out "${CLIENT_NAME}.csr" 28 ## Converting EC private key to PKCS#8 in Rust
|
| /webrtc/webrtc/src/rtp_transceiver/fmtp/h264/ |
| H A D | mod.rs | 88 fn parameter(&self, key: &str) -> Option<&String> { in parameter() 89 self.parameters.get(key) in parameter()
|
| /webrtc/mdns/src/message/ |
| H A D | name.rs | 88 let key: String = self.data.chars().skip(i).collect(); in pack() localVariable 89 if let Some(ptr) = compression.get(&key) { in pack() 100 compression.insert(key, msg.len() - compression_off); in pack()
|
| /webrtc/stun/src/ |
| H A D | integrity.rs | 25 fn new_hmac(key: &[u8], message: &[u8]) -> Vec<u8> { in new_hmac() 26 let mac = hmac::Key::new(hmac::HMAC_SHA1_FOR_LEGACY_USE_ONLY, key); in new_hmac()
|
| /webrtc/srtp/src/ |
| H A D | key_derivation.rs | 45 let key = GenericArray::from_slice(master_key); in aes_cm_key_derivation() localVariable 46 let block = Aes128::new(key); in aes_cm_key_derivation()
|
| /webrtc/turn/examples/ |
| H A D | turn_server_udp.rs | 106 let key = generate_auth_key(cred[0], realm, cred[1]); in main() localVariable 107 cred_map.insert(cred[0].to_owned(), key); in main()
|
| /webrtc/.github/workflows/ |
| H A D | cargo.yml | 39 key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} 73 key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} 104 key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
| /webrtc/dtls/src/prf/ |
| H A D | mod.rs | 143 fn hmac_sha(h: CipherSuiteHash, key: &[u8], data: &[u8]) -> Result<Vec<u8>> { in hmac_sha() 146 HmacSha256::new_from_slice(key).map_err(|e| Error::Other(e.to_string()))? in hmac_sha() 299 key: &[u8], in prf_mac() 301 let mut hmac = HmacSha1::new_from_slice(key).map_err(|e| Error::Other(e.to_string()))?; in prf_mac()
|
| /webrtc/constraints/src/ |
| H A D | supported_constraints.rs | 136 while let Some((key, value)) = access.next_entry()? { in visit_map() 138 set.insert(key); in visit_map()
|
| /webrtc/ice/src/util/ |
| H A D | mod.rs | 40 pub fn assert_inbound_message_integrity(m: &mut Message, key: &[u8]) -> Result<()> { in assert_inbound_message_integrity() 41 let message_integrity_attr = MessageIntegrity(key.to_vec()); in assert_inbound_message_integrity()
|
| /webrtc/sdp/src/lexer/ |
| H A D | mod.rs | 60 pub fn key_value_build(key: &str, value: Option<&String>) -> String { in key_value_build()
|