| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private RsaKeyParameters |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public BigInteger | |
| public byte[] | |
| public int | Returns: maximum size for an input block.Return the maximum size for an input block to this engine. |
| public int | Returns: maximum size for an output block.Return the maximum size for an output block to this engine. |
| public void | init(boolean
true if we are encrypting, false otherwise. forEncryption, CipherParameters the necessary RSA key parameters. param)initialise the RSA engine. |
| public BigInteger |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| key | back to summary |
|---|---|
| private RsaKeyParameters key | |
| RsaCoreEngine | back to summary |
|---|---|
| pack-priv RsaCoreEngine() | |
| convertInput | back to summary |
|---|---|
| public BigInteger convertInput(byte[] in, int inOff, int inLen) | |
| convertOutput | back to summary |
|---|---|
| public byte[] convertOutput(BigInteger result) | |
| getInputBlockSize | back to summary |
|---|---|
| public int getInputBlockSize() Return the maximum size for an input block to this engine. For RSA this is always one byte less than the key size on encryption, and the same length as the key size on decryption.
| |
| getOutputBlockSize | back to summary |
|---|---|
| public int getOutputBlockSize() Return the maximum size for an output block to this engine. For RSA this is always one byte less than the key size on decryption, and the same length as the key size on encryption.
| |
| init | back to summary |
|---|---|
| public void init(boolean forEncryption, CipherParameters param) initialise the RSA engine.
| |
| processBlock | back to summary |
|---|---|
| public BigInteger processBlock(BigInteger input) | |