Home
last modified time | relevance | path

Searched refs:from_key_pair (Results 1 – 6 of 6) sorted by relevance

/webrtc/webrtc/src/peer_connection/
H A Dcertificate.rs97 pub fn from_key_pair(key_pair: KeyPair) -> Result<Self> { in from_key_pair() method
242 let _cert = RTCCertificate::from_key_pair(kp)?; in test_generate_certificate_ecdsa()
250 let _cert = RTCCertificate::from_key_pair(kp)?; in test_generate_certificate_eddsa()
258 let cert1 = RTCCertificate::from_key_pair(kp1)?; in test_certificate_equal()
261 let cert2 = RTCCertificate::from_key_pair(kp2)?; in test_certificate_equal()
271 let cert = RTCCertificate::from_key_pair(kp)?; in test_generate_certificate_expires_and_stats_id()
284 let cert = RTCCertificate::from_key_pair(kp)?; in test_certificate_serialize_pem_and_from_pem()
H A Dmod.rs281 let cert = RTCCertificate::from_key_pair(kp)?; in init_configuration()
/webrtc/dtls/examples/hub/src/
H A Dutilities.rs100 Ok(CryptoPrivateKey::from_key_pair(&key_pair).expect("crypto key pair")) in load_key()
/webrtc/webrtc/src/api/
H A Dmod.rs95 let cert = RTCCertificate::from_key_pair(kp)?; in new_dtls_transport()
/webrtc/dtls/src/crypto/
H A Dmod.rs243 pub fn from_key_pair(key_pair: &KeyPair) -> Result<Self> { in from_key_pair() method
/webrtc/webrtc/src/peer_connection/sdp/
H A Dsdp_test.rs570 let certificate = RTCCertificate::from_key_pair(kp)?; in test_media_description_fingerprints()