|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bouncycastle.crypto.engines.RC2WrapEngine
public class RC2WrapEngine
Wrap keys according to RFC 3217 - RC2 mechanism
Constructor Summary | |
---|---|
RC2WrapEngine()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RC2WrapEngine()
Method Detail |
---|
public void init(boolean forWrapping, CipherParameters param)
init
in interface Wrapper
forWrapping
- param
- public java.lang.String getAlgorithmName()
getAlgorithmName
in interface Wrapper
public byte[] wrap(byte[] in, int inOff, int inLen)
wrap
in interface Wrapper
in
- inOff
- inLen
-
public byte[] unwrap(byte[] in, int inOff, int inLen) throws InvalidCipherTextException
unwrap
in interface Wrapper
in
- inOff
- inLen
-
InvalidCipherTextException
|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |