/external/rust/crates/ring/tests/ |
D | ed25519_tests.rs | 106 const PRIVATE_KEY: &[u8] = include_bytes!("ed25519_test_private_key.bin"); in test_ed25519_from_seed_and_public_key_misuse() constant 109 assert!(Ed25519KeyPair::from_seed_and_public_key(PRIVATE_KEY, PUBLIC_KEY).is_ok()); in test_ed25519_from_seed_and_public_key_misuse() 112 assert!(Ed25519KeyPair::from_seed_and_public_key(&PRIVATE_KEY[..31], PUBLIC_KEY).is_err()); in test_ed25519_from_seed_and_public_key_misuse() 115 assert!(Ed25519KeyPair::from_seed_and_public_key(PRIVATE_KEY, &PUBLIC_KEY[..31]).is_err()); in test_ed25519_from_seed_and_public_key_misuse() 118 assert!(Ed25519KeyPair::from_seed_and_public_key(PUBLIC_KEY, PRIVATE_KEY).is_err()); in test_ed25519_from_seed_and_public_key_misuse() 167 const PRIVATE_KEY: &[u8] = include_bytes!("ed25519_test_private_key.p8"); in ed25519_test_public_key_coverage() constant 172 let key_pair = signature::Ed25519KeyPair::from_pkcs8(PRIVATE_KEY).unwrap(); in ed25519_test_public_key_coverage()
|
D | ecdsa_tests.rs | 180 const PRIVATE_KEY: &[u8] = include_bytes!("ecdsa_test_private_key_p256.p8"); in ecdsa_test_public_key_coverage() constant 186 PRIVATE_KEY, in ecdsa_test_public_key_coverage()
|
D | rsa_tests.rs | 285 const PRIVATE_KEY: &[u8] = include_bytes!("rsa_test_private_key_2048.p8"); in rsa_test_public_key_coverage() constant 292 let key_pair = signature::RsaKeyPair::from_pkcs8(PRIVATE_KEY).unwrap(); in rsa_test_public_key_coverage()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseCipherSpi.java | 178 else if (wrappedKeyAlgorithm.equals("") && wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap() 214 else if (wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseCipherSpi.java | 182 else if (wrappedKeyAlgorithm.equals("") && wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap() 218 else if (wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseCipherSpi.java | 182 else if (wrappedKeyAlgorithm.equals("") && wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap() 218 else if (wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap()
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
D | RSA_SHA1.java | 85 final static public String PRIVATE_KEY = "RSA-SHA1.PrivateKey"; field in RSA_SHA1 97 Object privateKeyObject = accessor.consumer.getProperty(PRIVATE_KEY); in initialize()
|
/external/autotest/server/cros/tradefed/ |
D | tradefed_constants.py | 70 PRIVATE_KEY = '''-----BEGIN PRIVATE KEY----- variable
|
D | tradefed_test.py | 464 f.write(constants.PRIVATE_KEY) 1060 (pipes.quote(constants.PRIVATE_KEY), key_path)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseWrapCipher.java | 516 else if (wrappedKeyAlgorithm.equals("") && wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap() 552 else if (wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap()
|
/external/python/cryptography/docs/development/custom-vectors/rsa-oaep-sha2/ |
D | VerifyRSAOAEPSHA2.java | 44 private static final String PRIVATE_KEY = "# Private key"; field in TestVectorLoader 130 if (!line.startsWith(PRIVATE_KEY)) in loadNextTest()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseWrapCipher.java | 520 else if (wrappedKeyAlgorithm.equals("") && wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap() 556 else if (wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseWrapCipher.java | 520 else if (wrappedKeyAlgorithm.equals("") && wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap() 556 else if (wrappedKeyType == Cipher.PRIVATE_KEY) in engineUnwrap()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLCipher.java | 432 } else if (wrappedKeyType == Cipher.PRIVATE_KEY) { in engineUnwrap()
|
D | OpenSSLCipherRSA.java | 364 } else if (wrappedKeyType == Cipher.PRIVATE_KEY) { in engineUnwrap()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLCipher.java | 430 } else if (wrappedKeyType == Cipher.PRIVATE_KEY) { in engineUnwrap()
|
D | OpenSSLCipherRSA.java | 360 } else if (wrappedKeyType == Cipher.PRIVATE_KEY) { in engineUnwrap()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 626 return (PrivateKey)cipher.unwrap(data, "", Cipher.PRIVATE_KEY); in unwrapKey() 634 return (PrivateKey)cipher.unwrap(data, "", Cipher.PRIVATE_KEY); in unwrapKey()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 630 return (PrivateKey)cipher.unwrap(data, "", Cipher.PRIVATE_KEY); in unwrapKey() 638 return (PrivateKey)cipher.unwrap(data, "", Cipher.PRIVATE_KEY); in unwrapKey()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 630 return (PrivateKey)cipher.unwrap(data, "", Cipher.PRIVATE_KEY); in unwrapKey() 638 return (PrivateKey)cipher.unwrap(data, "", Cipher.PRIVATE_KEY); in unwrapKey()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | CipherTest.java | 4302 cipher.unwrap(wrappedKey, key.getAlgorithm(), Cipher.PRIVATE_KEY); in checkCipher_Unwrap_invalidMode_Failure()
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
D | CipherTest.java | 4310 cipher.unwrap(wrappedKey, key.getAlgorithm(), Cipher.PRIVATE_KEY); in checkCipher_Unwrap_invalidMode_Failure()
|