| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private AsymmetricBlockCipher | |
| private boolean | |
| private static byte[] | |
| private BigInteger | |
| private int | |
| private static byte[] | |
| private static final BigInteger | |
| private static final BigInteger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static byte[] | |
| private byte[] | |
| private byte[] | |
| public int | getInputBlockSize()
Implements org. |
| public int | getOutputBlockSize()
Implements org. |
| public int | |
| 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. |
| 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. |
| public void |
| bitSize | back to summary |
|---|---|
| private int bitSize | |
| engine | back to summary |
|---|---|
| private AsymmetricBlockCipher engine | |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| inverse | back to summary |
|---|---|
| private static byte[] inverse | |
| modulus | back to summary |
|---|---|
| private BigInteger modulus | |
| padBits | back to summary |
|---|---|
| private int padBits | |
| shadows | back to summary |
|---|---|
| private static byte[] shadows | |
| SIX | back to summary |
|---|---|
| private static final BigInteger SIX | |
| SIXTEEN | back to summary |
|---|---|
| private static final BigInteger SIXTEEN | |
| ISO9796d1Encoding | back to summary |
|---|---|
| public ISO9796d1Encoding(AsymmetricBlockCipher cipher) | |
| convertOutputDecryptOnly | back to summary |
|---|---|
| private static byte[] convertOutputDecryptOnly(BigInteger result) | |
| decodeBlock | back to summary |
|---|---|
private byte[] decodeBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException
| |
| encodeBlock | back to summary |
|---|---|
| private byte[] encodeBlock(byte[] in, int inOff, int inLen) throws InvalidCipherTextException | |
| getInputBlockSize | back to summary |
|---|---|
| public int getInputBlockSize() Implements org. return the input block size. The largest message we can process is (key_size_in_bits + 3)/16, which in our world comes to key_size_in_bytes / 2.
| |
| getOutputBlockSize | back to summary |
|---|---|
| public int getOutputBlockSize() Implements org. return the maximum possible size for the output.
| |
| getPadBits | back to summary |
|---|---|
| public int getPadBits() retrieve the number of pad bits in the last decoded message. | |
| 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.
| |
| 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.
| |
| setPadBits | back to summary |
|---|---|
| public void setPadBits(int padBits) set the number of bits in the next message to be treated as pad bits. | |