Table of Contents

Interface IBufferedCipher

Namespace
Enterprises.Org.BouncyCastle.Crypto
Assembly
Enterprises.BouncyCastle.Crypto.dll
public interface IBufferedCipher

Properties

AlgorithmName

string AlgorithmName { get; }

Property Value

string

Methods

DoFinal()

byte[] DoFinal()

Returns

byte[]

DoFinal(byte[])

byte[] DoFinal(byte[] input)

Parameters

input byte[]

Returns

byte[]

DoFinal(byte[], byte[], int)

int DoFinal(byte[] input, byte[] output, int outOff)

Parameters

input byte[]
output byte[]
outOff int

Returns

int

DoFinal(byte[], int)

int DoFinal(byte[] output, int outOff)

Parameters

output byte[]
outOff int

Returns

int

DoFinal(byte[], int, int)

byte[] DoFinal(byte[] input, int inOff, int length)

Parameters

input byte[]
inOff int
length int

Returns

byte[]

DoFinal(byte[], int, int, byte[], int)

int DoFinal(byte[] input, int inOff, int length, byte[] output, int outOff)

Parameters

input byte[]
inOff int
length int
output byte[]
outOff int

Returns

int

GetBlockSize()

int GetBlockSize()

Returns

int

GetOutputSize(int)

int GetOutputSize(int inputLen)

Parameters

inputLen int

Returns

int

GetUpdateOutputSize(int)

int GetUpdateOutputSize(int inputLen)

Parameters

inputLen int

Returns

int

Init(bool, ICipherParameters)

void Init(bool forEncryption, ICipherParameters parameters)

Parameters

forEncryption bool
parameters ICipherParameters

ProcessByte(byte)

byte[] ProcessByte(byte input)

Parameters

input byte

Returns

byte[]

ProcessByte(byte, byte[], int)

int ProcessByte(byte input, byte[] output, int outOff)

Parameters

input byte
output byte[]
outOff int

Returns

int

ProcessBytes(byte[])

byte[] ProcessBytes(byte[] input)

Parameters

input byte[]

Returns

byte[]

ProcessBytes(byte[], byte[], int)

int ProcessBytes(byte[] input, byte[] output, int outOff)

Parameters

input byte[]
output byte[]
outOff int

Returns

int

ProcessBytes(byte[], int, int)

byte[] ProcessBytes(byte[] input, int inOff, int length)

Parameters

input byte[]
inOff int
length int

Returns

byte[]

ProcessBytes(byte[], int, int, byte[], int)

int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff)

Parameters

input byte[]
inOff int
length int
output byte[]
outOff int

Returns

int

Reset()

void Reset()