org.bouncycastle.crypto.encodings
public class OAEPEncoding extends Object implements AsymmetricBlockCipher
| Constructor Summary | |
|---|---|
| OAEPEncoding(AsymmetricBlockCipher cipher) | |
| OAEPEncoding(AsymmetricBlockCipher cipher, Digest hash) | |
| OAEPEncoding(AsymmetricBlockCipher cipher, Digest hash, byte[] encodingParams) | |
| Method Summary | |
|---|---|
| byte[] | decodeBlock(byte[] in, int inOff, int inLen) |
| byte[] | encodeBlock(byte[] in, int inOff, int inLen) |
| int | getInputBlockSize() |
| int | getOutputBlockSize() |
| AsymmetricBlockCipher | getUnderlyingCipher() |
| void | init(boolean forEncryption, CipherParameters param) |
| byte[] | processBlock(byte[] in, int inOff, int inLen) |
Throws: InvalidCipherTextException if the decrypted block turns out to be badly formatted.