Searched refs:UNWRAP_MODE (Results 1 - 23 of 23) sorted by relevance

/openjdk7/jdk/test/javax/crypto/Cipher/
H A DTestCipherMode.java52 System.out.println("Testing UNWRAP_MODE...");
53 test.checkMode(Cipher.UNWRAP_MODE);
87 case Cipher.UNWRAP_MODE:
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DKeyWrapping.java54 c1.init(Cipher.UNWRAP_MODE, sKey);
86 c1.init(Cipher.UNWRAP_MODE, sKey);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTest4626070.java54 ci.init(Cipher.UNWRAP_MODE, key, params);
/openjdk7/jdk/test/javax/crypto/EncryptedPrivateKeyInfo/
H A DGetKeySpecException2.java55 // i.e. WRAP_MODE, UNWRAP_MODE.
67 System.out.println("Testing getKeySpec(Cipher) with UNWRAP_MODE...");
68 c.init(Cipher.UNWRAP_MODE, key, params);
/openjdk7/jdk/test/sun/security/pkcs11/rsa/
H A DKeyWrap.java83 c.init(Cipher.UNWRAP_MODE, kp.getPrivate());
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/keyresolver/implementations/
H A DEncryptedKeyResolver.java115 cipher.init(XMLCipher.UNWRAP_MODE, _kek);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/KeyWrap/
H A DNISTWrapKAT.java93 c.init(Cipher.UNWRAP_MODE, cipherKey);
H A DXMLEncKAT.java119 c.init(Cipher.UNWRAP_MODE, cKey);
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/
H A DTestRSACipherWrap.java93 unwrapCipher.init(Cipher.UNWRAP_MODE, kp.getPrivate());
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DARCFOURCipher.java183 if ((opmode < Cipher.ENCRYPT_MODE) || (opmode > Cipher.UNWRAP_MODE)) {
H A DAESWrapCipher.java151 * Cipher.UNWRAP_MODE.
156 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
167 } else if (opmode == Cipher.UNWRAP_MODE) {
182 * Cipher.UNWRAP_MODE.
187 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
214 * Cipher.UNWRAP_MODE.
219 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
H A DPBECipherCore.java203 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
217 (opmode == Cipher.UNWRAP_MODE)) && (params == null)) {
H A DDESedeWrapCipher.java162 * Cipher.UNWRAP_MODE.
169 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
195 * Cipher.UNWRAP_MODE.
202 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
232 } else if (opmode == Cipher.UNWRAP_MODE) {
255 * Cipher.UNWRAP_MODE.
262 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
385 * UNWRAP_MODE but wrapped key data has not been given.
H A DRSACipher.java253 case Cipher.UNWRAP_MODE:
H A DCipherCore.java376 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
406 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
420 || (opmode == Cipher.UNWRAP_MODE);
H A DPKCS12PBECipherCore.java256 (opmode == Cipher.UNWRAP_MODE)) &&
/openjdk7/jdk/test/com/oracle/security/ucrypto/
H A DTestAES.java218 c2.init(Cipher.UNWRAP_MODE, key, params, null);
232 c2.init(Cipher.UNWRAP_MODE, key, params, null);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DRSAClientKeyExchange.java145 cipher.init(Cipher.UNWRAP_MODE, privateKey);
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/encryption/
H A DXMLCipher.java162 public static final int UNWRAP_MODE = Cipher.UNWRAP_MODE; field in class:XMLCipher
573 * following: ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE or UNWRAP_MODE)
598 case UNWRAP_MODE :
599 logger.log(java.util.logging.Level.FINE, "opmode = UNWRAP_MODE");
834 case UNWRAP_MODE:
874 case UNWRAP_MODE:
925 case UNWRAP_MODE:
1182 if(_cipherMode != UNWRAP_MODE && _cipherMode != DECRYPT_MODE)
1183 logger.log(java.util.logging.Level.FINE, "XMLCipher unexpectedly not in UNWRAP_MODE o
[all...]
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSACipher.java188 case Cipher.UNWRAP_MODE:
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCipher.java177 public static final int UNWRAP_MODE = 4; field in class:Cipher
1098 if ((opmode < ENCRYPT_MODE) || (opmode > UNWRAP_MODE)) {
1142 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
1191 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
1264 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
1321 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
1395 * or <code>UNWRAP_MODE</code>)
1452 * or <code>UNWRAP_MODE</code>)
1535 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
1600 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</cod
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11RSACipher.java201 } else if (opmode == Cipher.UNWRAP_MODE) {
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/
H A DKeyInfo.java576 cipher.init(XMLCipher.UNWRAP_MODE, null);

Completed in 65 milliseconds