| Constructor and Description | 
|---|
RC2WrapEngine()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getAlgorithmName()
Method getAlgorithmName 
 | 
void | 
init(boolean forWrapping,
    CipherParameters param)
Method init 
 | 
byte[] | 
unwrap(byte[] in,
      int inOff,
      int inLen)
Method unwrap 
 | 
byte[] | 
wrap(byte[] in,
    int inOff,
    int inLen)
Method wrap 
 | 
public void init(boolean forWrapping,
                 CipherParameters param)
public java.lang.String getAlgorithmName()
getAlgorithmName in interface Wrapperpublic byte[] wrap(byte[] in,
                   int inOff,
                   int inLen)
public byte[] unwrap(byte[] in,
                     int inOff,
                     int inLen)
              throws InvalidCipherTextException
unwrap in interface Wrapperin - byte array containing the wrapped key.inOff - offset into in array that the wrapped key starts at.inLen - length of wrapped key data.InvalidCipherTextException