Searched refs:SECRET_KEY (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DCipherWrapThread.java42 Key decrypted = cip.unwrap(output, getAlgName(), Cipher.SECRET_KEY);
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherTest.java806 c.unwrap(arDES, "DES", Cipher.SECRET_KEY);
812 assertTrue(CIPHER_KEY_DES.equals(c.unwrap(arDES, "DES", Cipher.SECRET_KEY)));
813 assertFalse(CIPHER_KEY_DES.equals(c.unwrap(ar, "DES", Cipher.SECRET_KEY)));
824 c.unwrap(arDES, "DESede", Cipher.SECRET_KEY);
/libcore/luni/src/main/java/javax/crypto/
H A DCipher.java91 public static final int SECRET_KEY = 3; field in class:Cipher
1526 * the type of the wrapped key (one of: {@code SECRET_KEY
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DCipherTest.java1203 Key decryptedKey = c.unwrap(cipherText, sk.getAlgorithm(), Cipher.SECRET_KEY);
2672 Key decryptedKey = c.unwrap(cipherText, sk.getAlgorithm(), Cipher.SECRET_KEY);

Completed in 134 milliseconds