public class RFC5649WrapEngine extends java.lang.Object implements Wrapper
For details on the specification see: https://tools.ietf.org/html/rfc5649
| Constructor and Description | 
|---|
RFC5649WrapEngine(BlockCipher engine)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getAlgorithmName()
Return the name of the algorithm the wrapper implements. 
 | 
void | 
init(boolean forWrapping,
    CipherParameters param)  | 
byte[] | 
unwrap(byte[] in,
      int inOff,
      int inLen)  | 
byte[] | 
wrap(byte[] in,
    int inOff,
    int inLen)  | 
public RFC5649WrapEngine(BlockCipher engine)
public void init(boolean forWrapping,
                 CipherParameters param)
public java.lang.String getAlgorithmName()
WrappergetAlgorithmName in interface Wrapperpublic byte[] unwrap(byte[] in,
                     int inOff,
                     int inLen)
              throws InvalidCipherTextException
unwrap in interface WrapperInvalidCipherTextException