| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private AsymmetricBlockCipher | |
| private boolean | |
| private Digest | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public byte[] | |
| public int | getInputBlockSize()
Implements org. |
| public int | getOutputBlockSize()
Implements org. |
| public AsymmetricBlockCipher | |
| public void | init(boolean
if true the cipher is initialised for
encryption, if false for decryption. forEncryption, CipherParameters the key and other data required by the cipher. param)Implements org. |
| private void | |
| private byte[] | maskGeneratorFunction1(byte[] Z, int zOff, int zLen, int length)
mask generator function, as described in PKCS1v2. |
| public byte[] | processBlock(byte[]
the input data in, int offset into the in array where the data starts inOff, int the length of the block to be processed. inLen)Implements org. |
| defHash | back to summary |
|---|---|
| private byte[] defHash | |
| engine | back to summary |
|---|---|
| private AsymmetricBlockCipher engine | |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| mgf1Hash | back to summary |
|---|---|
| private Digest mgf1Hash | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| OAEPEncoding | back to summary |
|---|---|
| public OAEPEncoding(AsymmetricBlockCipher cipher, Digest hash) | |
| OAEPEncoding | back to summary |
|---|---|
| public OAEPEncoding(AsymmetricBlockCipher cipher, Digest hash, byte[] encodingParams) | |
| OAEPEncoding | back to summary |
|---|---|
| public OAEPEncoding(AsymmetricBlockCipher cipher, Digest hash, Digest mgf1Hash, byte[] encodingParams) | |
| decodeBlock | back to summary |
|---|---|
public byte[] decodeBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException
| |
| encodeBlock | back to summary |
|---|---|
| public byte[] encodeBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException | |
| getInputBlockSize | back to summary |
|---|---|
| public int getInputBlockSize() Implements org. Doc from org. returns the largest size an input block can be.
| |
| getOutputBlockSize | back to summary |
|---|---|
| public int getOutputBlockSize() Implements org. Doc from org. returns the maximum size of the block produced by this cipher.
| |
| getUnderlyingCipher | back to summary |
|---|---|
| public AsymmetricBlockCipher getUnderlyingCipher() | |
| init | back to summary |
|---|---|
| public void init(boolean forEncryption, CipherParameters param) Implements org. Doc from org. initialise the cipher.
| |
| ItoOSP | back to summary |
|---|---|
| private void ItoOSP(int i, byte[] sp) int to octet string. | |
| maskGeneratorFunction1 | back to summary |
|---|---|
| private byte[] maskGeneratorFunction1(byte[] Z, int zOff, int zLen, int length) mask generator function, as described in PKCS1v2. | |
| processBlock | back to summary |
|---|---|
| public byte[] processBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException Implements org. Doc from org. process the block of len bytes stored in in from offset inOff.
| |