Searched refs:UNWRAP_MODE (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherWrapThread.java | 41 cip.init(Cipher.UNWRAP_MODE, key); in crypt()
|
/libcore/luni/src/main/java/javax/crypto/ |
D | Cipher.java | 96 public static final int UNWRAP_MODE = 4; field in Cipher 581 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE && mode != UNWRAP_MODE in checkMode() 1542 if (mode != UNWRAP_MODE) { in unwrap()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 141 return Cipher.UNWRAP_MODE; in getDecryptMode() 513 setExpectedOutputSize("AESWRAP", Cipher.UNWRAP_MODE, 0); 579 setExpectedOutputSize("DESEDEWRAP", Cipher.UNWRAP_MODE, 0); 1202 c.init(Cipher.UNWRAP_MODE, getDecryptKey(algorithm), decryptSpec); in test_Cipher() 1390 assertCipherInitWithKeyUsage(certificate, allowUnwrap, Cipher.UNWRAP_MODE); in assertCipherInitWithKeyUsage() 1413 case Cipher.UNWRAP_MODE: in assertCipherInitWithKeyUsage() 2671 c.init(Cipher.UNWRAP_MODE, key, spec); in checkCipher()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherTest.java | 811 c.init(Cipher.UNWRAP_MODE, CIPHER_KEY_DES, ap, new SecureRandom()); in test_unwrap$BLjava_lang_StringI() 822 c.init(Cipher.UNWRAP_MODE, CIPHER_KEY_3DES, ap, new SecureRandom()); in test_unwrap$BLjava_lang_StringI()
|