| Modifier and Type | Field and Description |
|---|---|
| private RsaCoreEngine | |
| private RsaKeyParameters | |
| private static final BigInteger | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: maximum size for an input block.Implements org. |
| public int | Returns: maximum size for an output block.Implements org. |
| public void | init(boolean
true if we are encrypting, false otherwise. forEncryption, CipherParameters the necessary RSA key parameters. param)Implements org. |
| public byte[] | Returns: the result of the RSA process.the input array. in, int the offset into the input buffer where the data starts. inOff, int the length of the data to be processed. inLen)Implements org. |
| core | back to summary |
|---|---|
| private RsaCoreEngine core | |
| key | back to summary |
|---|---|
| private RsaKeyParameters key | |
| ONE | back to summary |
|---|---|
| private static final BigInteger ONE | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| RsaBlindedEngine | back to summary |
|---|---|
| pack-priv RsaBlindedEngine() | |
| getInputBlockSize | back to summary |
|---|---|
| public int getInputBlockSize() Implements org. 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() Implements org. 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) Implements org. initialise the RSA engine.
| |
| processBlock | back to summary |
|---|---|
| public byte[] processBlock(byte[] in, int inOff, int inLen) Implements org. Process a single block using the basic RSA algorithm.
| |