| Modifier and Type | Field and Description |
|---|---|
| private BigInteger | |
| private RSACoreEngine | |
| private boolean | |
| private RSAKeyParameters |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private BigInteger | |
| 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 (blinding), 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. |
| private BigInteger |
| blindingFactor | back to summary |
|---|---|
| private BigInteger blindingFactor | |
| core | back to summary |
|---|---|
| private RSACoreEngine core | |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| key | back to summary |
|---|---|
| private RSAKeyParameters key | |
| RSABlindingEngine | back to summary |
|---|---|
| public RSABlindingEngine() | |
| blindMessage | back to summary |
|---|---|
| private BigInteger blindMessage(BigInteger msg) | |
| 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 blinding engine.
| |
| processBlock | back to summary |
|---|---|
| public byte[] processBlock(byte[] in, int inOff, int inLen) Implements org. Process a single block using the RSA blinding algorithm.
| |
| unblindMessage | back to summary |
|---|---|
| private BigInteger unblindMessage(BigInteger blindedMsg) | |