java.lang.Object | |
↳ | org.bouncycastle.crypto.engines.IESEngine |
support class for constructing intergrated encryption ciphers for doing basic message exchanges on top of key agreement ciphers
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
set up for use with stream mode, where the key derivation function
is used to provide a stream of bytes to xor with the message.
| |||||||||||
set up for use in conjunction with a block cipher to handle the
message.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Initialise the encryptor.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
set up for use with stream mode, where the key derivation function is used to provide a stream of bytes to xor with the message.
agree | the key agreement used as the basis for the encryption |
---|---|
kdf | the key derivation function used for byte generation |
mac | the message authentication code generator for the message |
set up for use in conjunction with a block cipher to handle the message.
agree | the key agreement used as the basis for the encryption |
---|---|
kdf | the key derivation function used for byte generation |
mac | the message authentication code generator for the message |
cipher | the cipher to used for encrypting the message |
Initialise the encryptor.
forEncryption | whether or not this is encryption/decryption. |
---|---|
privParam | our private key parameters |
pubParam | the recipient's/sender's public key parameters |
param | encoding and derivation parameters. |