Home
last modified time | relevance | path

Searched refs:PUBLIC_KEY (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/ring/tests/
Ded25519_tests.rs93 const PUBLIC_KEY: &[u8] = include_bytes!("ed25519_test_public_key.bin"); in test_ed25519_from_seed_and_public_key_misuse() constant
95 assert!(Ed25519KeyPair::from_seed_and_public_key(PRIVATE_KEY, PUBLIC_KEY).is_ok()); in test_ed25519_from_seed_and_public_key_misuse()
98 assert!(Ed25519KeyPair::from_seed_and_public_key(&PRIVATE_KEY[..31], PUBLIC_KEY).is_err()); in test_ed25519_from_seed_and_public_key_misuse()
101 assert!(Ed25519KeyPair::from_seed_and_public_key(PRIVATE_KEY, &PUBLIC_KEY[..31]).is_err()); in test_ed25519_from_seed_and_public_key_misuse()
104 assert!(Ed25519KeyPair::from_seed_and_public_key(PUBLIC_KEY, PRIVATE_KEY).is_err()); in test_ed25519_from_seed_and_public_key_misuse()
157 const PUBLIC_KEY: &[u8] = include_bytes!("ed25519_test_public_key.der"); in ed25519_test_public_key_coverage() constant
164 assert_eq!(key_pair.public_key().as_ref(), PUBLIC_KEY); in ed25519_test_public_key_coverage()
Decdsa_tests.rs199 const PUBLIC_KEY: &[u8] = include_bytes!("ecdsa_test_public_key_p256.der"); in ecdsa_test_public_key_coverage() constant
209 assert_eq!(key_pair.public_key().as_ref(), PUBLIC_KEY); in ecdsa_test_public_key_coverage()
Drsa_tests.rs311 const PUBLIC_KEY: &[u8] = include_bytes!("rsa_test_public_key_2048.der"); in rsa_test_public_key_coverage() constant
317 assert_eq!(key_pair.public_key().as_ref(), PUBLIC_KEY); in rsa_test_public_key_coverage()
/external/oauth/core/src/main/java/net/oauth/signature/
DRSA_SHA1.java86 final static public String PUBLIC_KEY = "RSA-SHA1.PublicKey"; field in RSA_SHA1
114 Object publicKeyObject = accessor.consumer.getProperty(PUBLIC_KEY); in initialize()
/external/python/cryptography/docs/development/custom-vectors/rsa-oaep-sha2/
DVerifyRSAOAEPSHA2.java41 private static final String PUBLIC_KEY = "# Public key"; field in TestVectorLoader
125 if (!line.startsWith(PUBLIC_KEY)) in loadNextTest()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseCipherSpi.java210 if (wrappedKeyType == Cipher.PUBLIC_KEY) in engineUnwrap()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseCipherSpi.java214 if (wrappedKeyType == Cipher.PUBLIC_KEY) in engineUnwrap()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseCipherSpi.java214 if (wrappedKeyType == Cipher.PUBLIC_KEY) in engineUnwrap()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLCipher.java429 if (wrappedKeyType == Cipher.PUBLIC_KEY) { in engineUnwrap()
DOpenSSLCipherRSA.java361 if (wrappedKeyType == Cipher.PUBLIC_KEY) { in engineUnwrap()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLCipher.java427 if (wrappedKeyType == Cipher.PUBLIC_KEY) { in engineUnwrap()
DOpenSSLCipherRSA.java357 if (wrappedKeyType == Cipher.PUBLIC_KEY) { in engineUnwrap()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseWrapCipher.java548 if (wrappedKeyType == Cipher.PUBLIC_KEY) in engineUnwrap()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseWrapCipher.java552 if (wrappedKeyType == Cipher.PUBLIC_KEY) in engineUnwrap()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseWrapCipher.java552 if (wrappedKeyType == Cipher.PUBLIC_KEY) in engineUnwrap()