Searched refs:from_der (Results 1 – 2 of 2) sorted by relevance
146 Self::from_der(der.as_slice_less_safe()) in from_pkcs8()164 pub fn from_der(input: &[u8]) -> Result<Self, KeyRejected> { in from_der() method624 let key_pair = signature::RsaKeyPair::from_der(PRIVATE_KEY_DER).unwrap(); in test_signature_rsa_pkcs1_sign_output_buffer_len()
96 let key_pair = signature::RsaKeyPair::from_der(&private_key); in test_signature_rsa_pkcs1_sign()134 let key_pair = signature::RsaKeyPair::from_der(&private_key); in test_signature_rsa_pss_sign()