Searched refs:WRAP_MODE (Results 1 - 17 of 17) sorted by relevance

/openjdk7/jdk/test/javax/crypto/Cipher/
H A DTestCipherMode.java28 * Cipher object is initialized with a wrong mode, e.g. WRAP_MODE
50 System.out.println("Testing WRAP_MODE...");
51 test.checkMode(Cipher.WRAP_MODE);
86 case Cipher.WRAP_MODE:
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DKeyWrapping.java50 c1.init(Cipher.WRAP_MODE, sKey);
81 c1.init(Cipher.WRAP_MODE, sKey);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTest4626070.java51 ci.init(Cipher.WRAP_MODE, key, params);
/openjdk7/jdk/test/javax/crypto/EncryptedPrivateKeyInfo/
H A DGetKeySpecException2.java55 // i.e. WRAP_MODE, UNWRAP_MODE.
56 System.out.println("Testing getKeySpec(Cipher) with WRAP_MODE...");
59 c.init(Cipher.WRAP_MODE, key);
/openjdk7/jdk/test/sun/security/pkcs11/rsa/
H A DKeyWrap.java79 c.init(Cipher.WRAP_MODE, kp.getPublic());
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/KeyWrap/
H A DNISTWrapKAT.java78 c.init(Cipher.WRAP_MODE, cipherKey);
H A DXMLEncKAT.java133 c.init(Cipher.WRAP_MODE, cKey, params[i]);
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/
H A DTestRSACipherWrap.java91 wrapCipher.init(Cipher.WRAP_MODE, kp.getPublic());
/openjdk7/jdk/test/com/oracle/security/ucrypto/
H A DTestAES.java215 c1.init(Cipher.WRAP_MODE, key, (AlgorithmParameters)null, null);
229 c1.init(Cipher.WRAP_MODE, key, (AlgorithmParameters)null, null);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11RSACipher.java193 } else if (opmode == Cipher.WRAP_MODE) {
436 implInit(Cipher.WRAP_MODE, p11Key);
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DAESWrapCipher.java150 * Cipher.WRAP_MODE, and <b>
156 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
165 if (opmode == Cipher.WRAP_MODE) {
181 * Cipher.WRAP_MODE, and <b>
187 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
213 * Cipher.WRAP_MODE, and <b>
219 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
H A DDESedeWrapCipher.java161 * Cipher.WRAP_MODE, and <b>
169 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
194 * Cipher.WRAP_MODE, and <b>
202 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
216 if (opmode == Cipher.WRAP_MODE) {
254 * Cipher.WRAP_MODE, and <b>
262 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
H A DRSACipher.java249 case Cipher.WRAP_MODE:
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DRSAClientKeyExchange.java112 cipher.init(Cipher.WRAP_MODE, publicKey, generator);
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/encryption/
H A DXMLCipher.java164 public static final int WRAP_MODE = Cipher.WRAP_MODE; field in class:XMLCipher
573 * following: ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE or UNWRAP_MODE)
594 case WRAP_MODE :
595 logger.log(java.util.logging.Level.FINE, "opmode = WRAP_MODE");
836 case WRAP_MODE:
876 case WRAP_MODE:
927 case WRAP_MODE:
1225 if(_cipherMode != WRAP_MODE)
1226 logger.log(java.util.logging.Level.FINE, "XMLCipher unexpectedly not in WRAP_MODE
[all...]
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSACipher.java183 case Cipher.WRAP_MODE:
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCipher.java172 public static final int WRAP_MODE = 3; field in class:Cipher
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>)
1394 * <code>DECRYPT_MODE</code>, <code>WRAP_MODE</code>
1451 * <code>DECRYPT_MODE</code>, <code>WRAP_MODE</code>
1535 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
1600 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
1637 ((opmode == Cipher.WRAP_MODE)
[all...]

Completed in 57 milliseconds