Searched refs:from_key_pair (Results 1 – 6 of 6) sorted by relevance
97 pub fn from_key_pair(key_pair: KeyPair) -> Result<Self> { in from_key_pair() method242 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()
281 let cert = RTCCertificate::from_key_pair(kp)?; in init_configuration()
100 Ok(CryptoPrivateKey::from_key_pair(&key_pair).expect("crypto key pair")) in load_key()
95 let cert = RTCCertificate::from_key_pair(kp)?; in new_dtls_transport()
243 pub fn from_key_pair(key_pair: &KeyPair) -> Result<Self> { in from_key_pair() method
570 let certificate = RTCCertificate::from_key_pair(kp)?; in test_media_description_fingerprints()