| java.lang.Object org.bouncycastle.crypto.engines.RSACoreEngine
RSACoreEngine | class RSACoreEngine (Code) | | this does your basic RSA algorithm.
|
convertInput | public BigInteger convertInput(byte[] in, int inOff, int inLen)(Code) | | |
getInputBlockSize | public int getInputBlockSize()(Code) | | 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.
maximum size for an input block. |
getOutputBlockSize | public int getOutputBlockSize()(Code) | | 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.
maximum size for an output block. |
init | public void init(boolean forEncryption, CipherParameters param)(Code) | | initialise the RSA engine.
Parameters: forEncryption - true if we are encrypting, false otherwise. Parameters: param - the necessary RSA key parameters. |
|
|