Searched refs:from_pkcs8 (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/ring/tests/ |
D | ecdsa_tests.rs | 78 signature::EcdsaKeyPair::from_pkcs8(this_fixed, &input), in ecdsa_from_pkcs8_test() 88 signature::EcdsaKeyPair::from_pkcs8(this_asn1, &input), in ecdsa_from_pkcs8_test() 97 assert!(signature::EcdsaKeyPair::from_pkcs8(other_fixed, &input).is_err()); in ecdsa_from_pkcs8_test() 98 assert!(signature::EcdsaKeyPair::from_pkcs8(other_asn1, &input).is_err()); in ecdsa_from_pkcs8_test() 125 let _ = signature::EcdsaKeyPair::from_pkcs8(*alg, pkcs8.as_ref()).unwrap(); in ecdsa_generate_pkcs8_test() 202 let key_pair = signature::EcdsaKeyPair::from_pkcs8( in ecdsa_test_public_key_coverage()
|
D | ed25519_tests.rs | 62 let key_pair = Ed25519KeyPair::from_pkcs8(pkcs8.as_ref()).unwrap(); in test_signature_ed25519() 142 match (Ed25519KeyPair::from_pkcs8(&input), error.clone()) { in test_ed25519_from_pkcs8() 161 let key_pair = signature::Ed25519KeyPair::from_pkcs8(PRIVATE_KEY).unwrap(); in ed25519_test_public_key_coverage()
|
D | rsa_tests.rs | 61 match (signature::RsaKeyPair::from_pkcs8(&input), error) { in rsa_from_pkcs8_test() 314 let key_pair = signature::RsaKeyPair::from_pkcs8(PRIVATE_KEY).unwrap(); in rsa_test_public_key_coverage()
|
/external/rust/crates/ring/src/ec/curve25519/ed25519/ |
D | signing.rs | 76 pub fn from_pkcs8(pkcs8: &[u8]) -> Result<Self, error::KeyRejected> { in from_pkcs8() method
|
/external/rust/crates/ring/src/rsa/ |
D | signing.rs | 139 pub fn from_pkcs8(pkcs8: &[u8]) -> Result<Self, KeyRejected> { in from_pkcs8() method
|
/external/rust/crates/ring/src/ec/suite_b/ecdsa/ |
D | signing.rs | 105 pub fn from_pkcs8( in from_pkcs8() method
|