/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | CipherWithWrappingSpi.java | 101 * @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 D | AESCipher.java | 402 * @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 D | AESWrapCipher.java | 416 * @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 D | ARCFOURCipher.java | 251 protected Key engineUnwrap(byte[] wrappedKey, String algorithm, argument 253 byte[] encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
|
H A D | BlowfishCipher.java | 403 * @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 D | DESCipher.java | 403 * @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 D | DESedeCipher.java | 401 * @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 D | PBECipherCore.java | 506 * @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 D | PBEWithMD5AndDESCipher.java | 402 * @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 D | PBEWithMD5AndTripleDESCipher.java | 410 * @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 D | RC2Cipher.java | 145 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, argument 148 return core.unwrap(wrappedKey, wrappedKeyAlgorithm, wrappedKeyType);
|
H A D | CipherCore.java | 909 * @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 D | DESedeWrapCipher.java | 495 * @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 D | RSACipher.java | 420 protected Key engineUnwrap(byte[] wrappedKey, String algorithm, argument 422 if (wrappedKey.length > buffer.length) { 425 update(wrappedKey, 0, wrappedKey.length);
|
H A D | PKCS12PBECipherCore.java | 373 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 D | CipherSpi.java | 884 * @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 D | Cipher.java | 2423 * @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 D | RSACipher.java | 359 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 D | P11Cipher.java | 862 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, argument
|
H A D | P11RSACipher.java | 452 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);
|