org.ccnx.ccn.impl.security.crypto.jce.RFC3394WrapWithPadEngine Class Reference
RFC3394 requires that the key to be wrapped be a multiple of 8 bytes in length.
More...
List of all members.
|
Public Member Functions |
| RFC3394WrapWithPadEngine (BlockCipher blockcipher) |
void | init (boolean flag, CipherParameters cipherparameters) |
String | getAlgorithmName () |
byte[] | wrap (byte[] input, int offset, int length) |
byte[] | unwrap (byte[] input, int offset, int length) throws InvalidCipherTextException |
Detailed Description
RFC3394 requires that the key to be wrapped be a multiple of 8 bytes in length.
This poses challenges when wrapping private or public keys. draft-housley-aes-key-wrap-with-pad-02.txt modifies RFC3394 to add padding bytes, as supported in RFC3394 to remove this restriction. This is an implementation of that Internet-Draft, which is not yet supported by BouncyCastle.
Code relies on BouncyCastle library for most of its infrastructure.
The documentation for this class was generated from the following file:
- src/org/ccnx/ccn/impl/security/crypto/jce/RFC3394WrapWithPadEngine.java