Searched refs:UNWRAP_MODE (Results 1 – 5 of 5) 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/ojluni/src/main/java/sun/security/ssl/ |
D | RSAClientKeyExchange.java | 145 cipher.init(Cipher.UNWRAP_MODE, privateKey); in RSAClientKeyExchange()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | Cipher.java | 648 public static final int UNWRAP_MODE = 4; field in Cipher 1088 if ((opmode < ENCRYPT_MODE) || (opmode > UNWRAP_MODE)) { in checkOpmode() 2423 if (opmode != Cipher.UNWRAP_MODE) { in unwrap()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 145 return Cipher.UNWRAP_MODE; in getDecryptMode() 514 setExpectedOutputSize("AESWRAP", Cipher.UNWRAP_MODE, 0); 580 setExpectedOutputSize("DESEDEWRAP", Cipher.UNWRAP_MODE, 0); 1470 c.init(Cipher.UNWRAP_MODE, getDecryptKey(algorithm), decryptSpec); in test_Cipher() 1728 assertCipherInitWithKeyUsage(certificate, allowUnwrap, Cipher.UNWRAP_MODE); in assertCipherInitWithKeyUsage() 1751 case Cipher.UNWRAP_MODE: in assertCipherInitWithKeyUsage() 3191 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()
|