Table of Contents

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

rsa IRsa

Properties

AlgorithmName

The name of the algorithm this cipher implements.

public virtual string AlgorithmName { get; }

Property Value

string

Methods

GetInputBlockSize()

public virtual int GetInputBlockSize()

Returns

int

GetOutputBlockSize()

public virtual int GetOutputBlockSize()

Returns

int

Init(bool, ICipherParameters)

public virtual void Init(bool forEncryption, ICipherParameters parameters)

Parameters

forEncryption bool
parameters ICipherParameters

ProcessBlock(byte[], int, int)

public virtual byte[] ProcessBlock(byte[] inBuf, int inOff, int inLen)

Parameters

inBuf byte[]
inOff int
inLen int

Returns

byte[]