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

12

/openjdk9/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:
/openjdk9/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);
/openjdk9/jdk/test/com/sun/crypto/provider/Cipher/PBE/
H A DTestCipherKeyWrapperPBEKey.java144 ci.init(Cipher.UNWRAP_MODE, key, pbeParams);
146 ci.init(Cipher.UNWRAP_MODE, key, aps);
/openjdk9/jdk/test/com/sun/crypto/provider/Cipher/AEAD/
H A DKeyWrapper.java76 cipher.init(Cipher.UNWRAP_MODE, key, params);
/openjdk9/jdk/test/com/oracle/security/ucrypto/
H A DTestGCMKeyWrap.java74 cipher.init(Cipher.UNWRAP_MODE, key, params);
H A DTestAES.java228 c2.init(Cipher.UNWRAP_MODE, key, params, null);
242 c2.init(Cipher.UNWRAP_MODE, key, params, null);
/openjdk9/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTest4626070.java52 ci.init(Cipher.UNWRAP_MODE, key, params);
/openjdk9/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);
/openjdk9/jdk/test/com/sun/crypto/provider/Cipher/KeyWrap/
H A DTestCipherKeyWrapperTest.java303 wrapCI.init(Cipher.UNWRAP_MODE, initKey, pbeParams);
305 wrapCI.init(Cipher.UNWRAP_MODE, initKey, aps);
307 wrapCI.init(Cipher.UNWRAP_MODE, initKey);
H A DNISTWrapKAT.java93 c.init(Cipher.UNWRAP_MODE, cipherKey);
H A DXMLEncKAT.java116 c.init(Cipher.UNWRAP_MODE, cKey);
/openjdk9/jdk/test/com/sun/crypto/provider/NSASuiteB/
H A DTestAESWrapOids.java124 oidCipher.init(Cipher.UNWRAP_MODE, key);
/openjdk9/jdk/test/sun/security/pkcs11/Cipher/
H A DTestRSACipherWrap.java102 unwrapCipher.init(Cipher.UNWRAP_MODE, kp.getPrivate());
/openjdk9/jdk/test/sun/security/pkcs11/rsa/
H A DKeyWrap.java95 c.init(Cipher.UNWRAP_MODE, kp.getPrivate());
/openjdk9/jdk/src/java.base/share/classes/com/sun/crypto/provider/
H A DARCFOURCipher.java183 if ((opmode < Cipher.ENCRYPT_MODE) || (opmode > Cipher.UNWRAP_MODE)) {
H A DAESWrapCipher.java178 * Cipher.UNWRAP_MODE.
183 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
194 } else if (opmode == Cipher.UNWRAP_MODE) {
210 * Cipher.UNWRAP_MODE.
215 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
242 * Cipher.UNWRAP_MODE.
247 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
H A DPBECipherCore.java198 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
212 (opmode == Cipher.UNWRAP_MODE)) && (params == null)) {
H A DDESedeWrapCipher.java163 * {@code Cipher.WRAP_MODE}, and {@code Cipher.UNWRAP_MODE}.
170 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
195 * {@code Cipher.WRAP_MODE}, and {@code Cipher.UNWRAP_MODE}.
202 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
232 } else if (opmode == Cipher.UNWRAP_MODE) {
254 * {@code Cipher.WRAP_MODE}, and {@code Cipher.UNWRAP_MODE}.
261 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>) are accepted.
383 * UNWRAP_MODE but wrapped key data has not been given.
H A DPBES1Core.java198 * <code>WRAP_MODE</code> or <code>UNWRAP_MODE</code>)
212 (opmode == Cipher.UNWRAP_MODE)) && (params == null)) {
H A DRSACipher.java257 case Cipher.UNWRAP_MODE:
/openjdk9/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/keys/keyresolver/implementations/
H A DEncryptedKeyResolver.java132 cipher.init(XMLCipher.UNWRAP_MODE, kek);
/openjdk9/jdk/src/java.base/share/classes/javax/crypto/
H A DCipher.java194 public static final int UNWRAP_MODE = 4; field in class:Cipher
1137 if ((opmode < ENCRYPT_MODE) || (opmode > UNWRAP_MODE)) {
1150 case UNWRAP_MODE:
1196 * {@code WRAP_MODE} or {@code UNWRAP_MODE})
1206 * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented
1248 * {@code WRAP_MODE} or {@code UNWRAP_MODE})
1259 * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented
1330 * {@code WRAP_MODE} or {@code UNWRAP_MODE})
1345 * {@code WRAP_MODE} or {@code UNWRAP_MODE} but the mode is not implemented
1390 * {@code WRAP_MODE} or {@code UNWRAP_MODE})
[all...]
/openjdk9/jdk/src/java.base/share/classes/sun/security/ssl/
H A DRSAClientKeyExchange.java147 // Try UNWRAP_MODE mode firstly.
148 cipher.init(Cipher.UNWRAP_MODE, privateKey,
/openjdk9/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/encryption/
H A DXMLCipher.java201 public static final int UNWRAP_MODE = Cipher.UNWRAP_MODE; field in class:XMLCipher
578 * following: ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE or UNWRAP_MODE)
611 case UNWRAP_MODE :
613 log.log(java.util.logging.Level.FINE, "opmode = UNWRAP_MODE");
900 case UNWRAP_MODE:
941 case UNWRAP_MODE:
994 case UNWRAP_MODE:
1265 if (cipherMode != UNWRAP_MODE && cipherMode != DECRYPT_MODE) {
1267 "XMLCipher unexpectedly not in UNWRAP_MODE o
[all...]
/openjdk9/jdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11RSACipher.java214 } else if (opmode == Cipher.UNWRAP_MODE) {
516 implInit(Cipher.UNWRAP_MODE, p11Key);

Completed in 281 milliseconds

12