|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 WrapperforWrapping - param - public java.lang.String getAlgorithmName()
getAlgorithmName in interface Wrapper
public byte[] wrap(byte[] in,
int inOff,
int inLen)
wrap in interface Wrapperin - inOff - inLen -
public byte[] unwrap(byte[] in,
int inOff,
int inLen)
throws InvalidCipherTextException
unwrap in interface Wrapperin - inOff - inLen -
InvalidCipherTextException
|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||