/libcore/luni/src/main/java/java/security/ |
KeyStoreSpi.java | 27 import javax.crypto.SecretKey; 377 if (key instanceof SecretKey) { 378 return new KeyStore.SecretKeyEntry((SecretKey) key);
|
KeyStore.java | 31 import javax.crypto.SecretKey; [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
SecretKeyFactoryTest.java | 22 import javax.crypto.SecretKey; 198 SecretKey key = factory.generateSecret(ks); 208 SecretKey key = factory.generateSecret(ks);
|
ECDHKeyAgreementTest.java | 44 import javax.crypto.SecretKey; 331 SecretKey key = keyAgreement.generateSecret("AES");
|
CipherTest.java | 53 import javax.crypto.SecretKey; [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
KeyAgreement.java | 299 * the algorithm to for the {@code SecretKey} 300 * @return the shared secret as a {@code SecretKey} of the specified 308 * if a {@code SecretKey} with the specified algorithm cannot be 311 public final SecretKey generateSecret(String algorithm)
|
KeyGenerator.java | 172 public final SecretKey generateKey() {
|
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SecretKeyFactory_ImplTest.java | 32 import javax.crypto.SecretKey; 82 SecretKey sk;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
KeyAgreementSpi.java | 14 import javax.crypto.SecretKey; 187 protected SecretKey engineGenerateSecret(
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseStreamCipher.java | 12 import javax.crypto.SecretKey; 159 if (!(key instanceof SecretKey))
|
BaseBlockCipher.java | 16 import javax.crypto.SecretKey; 408 if (!(key instanceof SecretKey))
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreSpiTest.java | 40 import javax.crypto.SecretKey; 106 KeyStore.SecretKeyEntry dummyEntry = new KeyStore.SecretKeyEntry(new SecretKey() {
|
KeyStoreTest.java | 46 import javax.crypto.SecretKey; 259 SecretKey secretKey = keyGen.generateKey(); 263 keyStore.setKeyEntry(alias, secretKey, "pwd".toCharArray(), null);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
TestKeyStoreSpi.java | 25 import javax.crypto.SecretKey; 37 public static final Key KEY = new SecretKey() {
|
/development/samples/Vault/src/com/example/android/vault/ |
VaultProvider.java | 54 import javax.crypto.SecretKey; 127 private SecretKey mDataKey; 128 private SecretKey mMacKey; 177 final SecretKey key = new SecretKeySpec(raw, "AES"); 186 final SecretKey key = wrapper.unwrap(wrapped);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SecretKeyFactoryTest.java | 35 import javax.crypto.SecretKey; 345 * <code>getKeySpec(SecretKey key, Class keySpec) 361 SecretKey secKey = null; 465 secKF.translateKey((SecretKey) key);
|
KeyGeneratorTest.java | 39 import javax.crypto.SecretKey; 412 * returns SecretKey object 420 SecretKey sKey;
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyGeneratorTest.java | 34 import javax.crypto.SecretKey; 401 * returns SecretKey object 409 SecretKey sKey;
|
SecretKeyFactoryTest.java | 31 import javax.crypto.SecretKey; 343 * <code>getKeySpec(SecretKey key, Class keySpec) 359 SecretKey secKey = null;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 46 import javax.crypto.SecretKey; 260 SecretKey secretKey = keyGen.generateKey(); 264 keyStore.setKeyEntry(alias, secretKey, "pwd".toCharArray(), null);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCEStreamCipher.java | 22 import javax.crypto.SecretKey; 186 if (!(key instanceof SecretKey))
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
ContainerEncryptionParamsTest.java | 24 import javax.crypto.SecretKey; 37 private static final SecretKey ENC_KEY = new SecretKeySpec(ENC_KEY_BYTES, "RAW"); 43 private static final SecretKey MAC_KEY = new SecretKeySpec(MAC_KEY_BYTES, "RAW");
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/ |
KerberosTicketTest.java | 25 import javax.crypto.SecretKey; 323 // test returned SecretKey object 324 SecretKey sKey = krbTicket.getSessionKey();
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLCipher.java | 40 import javax.crypto.SecretKey; 247 if (!(key instanceof SecretKey)) { 248 throw new InvalidKeyException("Only SecretKey is supported");
|
/libcore/luni/src/test/java/libcore/java/security/ |
KeyStoreTest.java | 53 import javax.crypto.SecretKey; 61 private static SecretKey SECRET_KEY; 62 private static SecretKey SECRET_KEY_2; 103 private static SecretKey getSecretKey() { 110 private static SecretKey getSecretKey2() { 117 private static SecretKey generateSecretKey() { 312 public static void setSecretKey(KeyStore ks, String alias, SecretKey key) throws Exception { 325 public static void setSecretKeyBytes(KeyStore ks, String alias, SecretKey key) [all...] |