Searched defs:wrappedKey (Results 1 - 20 of 20) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DCipherWithWrappingSpi.java101 * @param wrappedKey the key to be unwrapped.
111 * @exception InvalidKeyException if <code>wrappedKey</code> does not
119 protected final Key engineUnwrap(byte[] wrappedKey, argument
128 encodedKey = engineDoFinal(wrappedKey, 0,
129 wrappedKey.length);
H A DAESCipher.java402 * @param wrappedKey the key to be unwrapped.
416 * @exception InvalidKeyException if <code>wrappedKey</code> does not
420 protected Key engineUnwrap(byte[] wrappedKey, argument
424 return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
H A DAESWrapCipher.java416 * @param wrappedKey the key to be unwrapped.
430 * @exception InvalidKeyException if <code>wrappedKey</code> does not
434 protected Key engineUnwrap(byte[] wrappedKey, argument
438 int wrappedKeyLen = wrappedKey.length;
439 // ensure the wrappedKey length is multiples of 8 bytes and non-zero
450 cipher.decryptBlock(wrappedKey, 0, buffer, 0);
458 System.arraycopy(wrappedKey, 0, buffer, 0, IV.length);
459 System.arraycopy(wrappedKey, IV.length, out, 0, out.length);
H A DARCFOURCipher.java251 protected Key engineUnwrap(byte[] wrappedKey, String algorithm, argument
253 byte[] encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
H A DBlowfishCipher.java403 * @param wrappedKey the key to be unwrapped.
417 * @exception InvalidKeyException if <code>wrappedKey</code> does not
421 protected Key engineUnwrap(byte[] wrappedKey, argument
425 return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
H A DDESCipher.java403 * @param wrappedKey the key to be unwrapped.
417 * @exception InvalidKeyException if <code>wrappedKey</code> does not
421 protected Key engineUnwrap(byte[] wrappedKey, argument
425 return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
H A DDESedeCipher.java401 * @param wrappedKey the key to be unwrapped.
415 * @exception InvalidKeyException if <code>wrappedKey</code> does not
419 protected Key engineUnwrap(byte[] wrappedKey, argument
423 return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
H A DPBECipherCore.java506 * @param wrappedKey the key to be unwrapped.
520 * @exception InvalidKeyException if <code>wrappedKey</code> does not
524 Key unwrap(byte[] wrappedKey, argument
530 encodedKey = doFinal(wrappedKey, 0, wrappedKey.length);
H A DPBEWithMD5AndDESCipher.java402 * @param wrappedKey the key to be unwrapped.
416 * @exception InvalidKeyException if <code>wrappedKey</code> does not
420 protected Key engineUnwrap(byte[] wrappedKey, argument
426 return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
H A DPBEWithMD5AndTripleDESCipher.java410 * @param wrappedKey the key to be unwrapped.
424 * @exception InvalidKeyException if <code>wrappedKey</code> does not
428 protected Key engineUnwrap(byte[] wrappedKey, argument
432 return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
H A DRC2Cipher.java145 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, argument
148 return core.unwrap(wrappedKey, wrappedKeyAlgorithm, wrappedKeyType);
H A DCipherCore.java909 * @param wrappedKey the key to be unwrapped.
923 * @exception InvalidKeyException if <code>wrappedKey</code> does not
927 Key unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, argument
932 encodedKey = doFinal(wrappedKey, 0, wrappedKey.length);
H A DDESedeWrapCipher.java495 * @param wrappedKey the key to be unwrapped.
509 * @exception InvalidKeyException if <code>wrappedKey</code> does not
513 protected Key engineUnwrap(byte[] wrappedKey, argument
517 if (wrappedKey.length == 0) {
520 byte[] buffer = new byte[wrappedKey.length];
521 cipher.decrypt(wrappedKey, 0, wrappedKey.length, buffer, 0);
H A DRSACipher.java420 protected Key engineUnwrap(byte[] wrappedKey, String algorithm, argument
422 if (wrappedKey.length > buffer.length) {
425 update(wrappedKey, 0, wrappedKey.length);
H A DPKCS12PBECipherCore.java373 Key implUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, argument
376 return cipher.unwrap(wrappedKey, wrappedKeyAlgorithm,
434 protected Key engineUnwrap(byte[] wrappedKey, argument
438 return core.implUnwrap(wrappedKey, wrappedKeyAlgorithm,
509 protected Key engineUnwrap(byte[] wrappedKey, argument
513 return core.implUnwrap(wrappedKey, wrappedKeyAlgorithm,
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCipherSpi.java884 * @param wrappedKey the key to be unwrapped.
899 * @exception InvalidKeyException if <code>wrappedKey</code> does not
903 protected Key engineUnwrap(byte[] wrappedKey, argument
H A DCipher.java2423 * @param wrappedKey the key to be unwrapped.
2441 * @exception InvalidKeyException if <code>wrappedKey</code> does not
2445 public final Key unwrap(byte[] wrappedKey, argument
2466 return spi.engineUnwrap(wrappedKey,
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSACipher.java359 protected java.security.Key engineUnwrap(byte[] wrappedKey, String algorithm, argument
362 if (wrappedKey.length > buffer.length) {
365 update(wrappedKey, 0, wrappedKey.length);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11Cipher.java862 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, argument
H A DP11RSACipher.java452 protected Key engineUnwrap(byte[] wrappedKey, String algorithm, argument
468 new CK_MECHANISM(mechanism), p11Key.keyID, wrappedKey,
480 if (wrappedKey.length > maxInputSize) {
483 implUpdate(wrappedKey, 0, wrappedKey.length);

Completed in 68 milliseconds