Class RsaEngine
- Namespace
- Org.BouncyCastle.Crypto.Engines
- Assembly
- BouncyCastle.Cryptography.dll
public class RsaEngine : IAsymmetricBlockCipher
- Inheritance
-
RsaEngine
- Implements
- Inherited Members
Constructors
RsaEngine()
public RsaEngine()
RsaEngine(IRsa)
public RsaEngine(IRsa rsa)
Parameters
rsaIRsa
Properties
AlgorithmName
The name of the algorithm this cipher implements.
public virtual string AlgorithmName { get; }
Property Value
Methods
GetInputBlockSize()
public virtual int GetInputBlockSize()
Returns
GetOutputBlockSize()
public virtual int GetOutputBlockSize()
Returns
Init(bool, ICipherParameters)
public virtual void Init(bool forEncryption, ICipherParameters parameters)
Parameters
forEncryptionboolparametersICipherParameters
ProcessBlock(byte[], int, int)
public virtual byte[] ProcessBlock(byte[] inBuf, int inOff, int inLen)
Parameters
Returns
- byte[]