public interface KeyEncapsulation
Modifier and Type | Method and Description |
---|---|
CipherParameters |
decrypt(byte[] in,
int inOff,
int inLen,
int keyLen)
Deprecated.
Decapsulate an encapsulated session key.
|
CipherParameters |
encrypt(byte[] out,
int outOff,
int keyLen)
Deprecated.
Encapsulate a randomly generated session key.
|
void |
init(CipherParameters param)
Deprecated.
Initialise the key encapsulation mechanism.
|
void init(CipherParameters param)
CipherParameters encrypt(byte[] out, int outOff, int keyLen)
CipherParameters decrypt(byte[] in, int inOff, int inLen, int keyLen)