|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyEncapsulation
The basic interface for key encapsulation mechanisms.
Method Summary | |
---|---|
CipherParameters |
decrypt(byte[] in,
int inOff,
int inLen,
int keyLen)
Decapsulate an encapsulated session key. |
CipherParameters |
encrypt(byte[] out,
int outOff,
int keyLen)
Encapsulate a randomly generated session key. |
void |
init(CipherParameters param)
Initialise the key encapsulation mechanism. |
Method Detail |
---|
void init(CipherParameters param)
CipherParameters encrypt(byte[] out, int outOff, int keyLen)
CipherParameters decrypt(byte[] in, int inOff, int inLen, int keyLen)
|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |