For further details see: http://www.ietf.org/rfc/rfc3394.txt and http://csrc.nist.gov/encryption/kms/key-wrap.pdf.
| Access | Constructor and Description |
|---|---|
| public | SP80038FWrapEngine(BlockCipher
the block cipher to be used for wrapping. engine, boolean true if engine should be used in decryption mode for wrapping, false otherwise. useReverseDirection)Create a RFC 3394 WrapEngine specifying the direction for wrapping and unwrapping.. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAlgorithmName()
Implements org. |
| public byte[] | |
| public byte[] |
| SP80038FWrapEngine | back to summary |
|---|---|
| public SP80038FWrapEngine(BlockCipher engine, boolean useReverseDirection) Create a RFC 3394 WrapEngine specifying the direction for wrapping and unwrapping..
| |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. Return the name of the algorithm the wrapper implements.
| |
| unwrap | back to summary |
|---|---|
| public byte[] unwrap(byte[] in, int inOff, int inLen) throws InvalidCipherTextException Implements org. | |
| wrap | back to summary |
|---|---|
| public byte[] wrap(byte[] in, int inOff, int inLen) Implements org. | |