org.bouncycastle.crypto.encodings
public class PKCS1Encoding extends Object implements AsymmetricBlockCipher
| Field Summary | |
|---|---|
| static String | STRICT_LENGTH_ENABLED_PROPERTY
some providers fail to include the leading zero in PKCS1 encoded blocks. |
| Constructor Summary | |
|---|---|
| PKCS1Encoding(AsymmetricBlockCipher cipher)
Basic constructor. | |
| Method Summary | |
|---|---|
| int | getInputBlockSize() |
| int | getOutputBlockSize() |
| AsymmetricBlockCipher | getUnderlyingCipher() |
| void | init(boolean forEncryption, CipherParameters param) |
| byte[] | processBlock(byte[] in, int inOff, int inLen) |
The system property is checked during construction of the encoding object, it is set to true by default.
Parameters: cipher