java.lang.Object | |
↳ | org.bouncycastle.crypto.encodings.OAEPEncoding |
Optimal Asymmetric Encryption Padding (OAEP) - see PKCS 1 V 2.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
returns the largest size an input block can be.
| |||||||||||
returns the maximum size of the block produced by this cipher.
| |||||||||||
initialise the cipher.
| |||||||||||
process the block of len bytes stored in in from offset inOff.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.crypto.AsymmetricBlockCipher
|
InvalidCipherTextException | if the decrypted block turns out to be badly formatted. |
---|
returns the largest size an input block can be.
returns the maximum size of the block produced by this cipher.
initialise the cipher.
forEncryption | if true the cipher is initialised for encryption, if false for decryption. |
---|---|
param | the key and other data required by the cipher. |
process the block of len bytes stored in in from offset inOff.
in | the input data |
---|---|
inOff | offset into the in array where the data starts |
inLen | the length of the block to be processed. |
InvalidCipherTextException |
---|