Bouncy Castle Cryptography Library 1.35 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.bouncycastle.crypto.encodings.OAEPEncoding
Constructor Summary | |
| |
| |
|
Method Summary | |
byte[] |
|
byte[] |
|
int | |
int | |
AsymmetricBlockCipher | |
void |
|
byte[] |
|
public byte[] decodeBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException
- Throws:
InvalidCipherTextException
- if the decrypted block turns out to be badly formatted.
public byte[] encodeBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException
public int getInputBlockSize()
- Specified by:
- getInputBlockSize in interface AsymmetricBlockCipher
public int getOutputBlockSize()
- Specified by:
- getOutputBlockSize in interface AsymmetricBlockCipher
public void init(boolean forEncryption, CipherParameters param)
- Specified by:
- init in interface AsymmetricBlockCipher
public byte[] processBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException
- Specified by:
- processBlock in interface AsymmetricBlockCipher