Table of Contents

Class BufferedAeadCipher

Namespace
Org.BouncyCastle.Crypto
Assembly
BouncyCastle.Cryptography.dll
public class BufferedAeadCipher : BufferedCipherBase, IBufferedCipher
Inheritance
BufferedAeadCipher
Implements
Inherited Members

Constructors

BufferedAeadCipher(IAeadCipher)

public BufferedAeadCipher(IAeadCipher cipher)

Parameters

cipher IAeadCipher

Properties

AlgorithmName

The name of the algorithm this cipher implements.

public override string AlgorithmName { get; }

Property Value

string

Methods

DoFinal()

public override byte[] DoFinal()

Returns

byte[]

DoFinal(byte[], int)

public override int DoFinal(byte[] output, int outOff)

Parameters

output byte[]
outOff int

Returns

int

DoFinal(byte[], int, int)

public override byte[] DoFinal(byte[] input, int inOff, int inLen)

Parameters

input byte[]
inOff int
inLen int

Returns

byte[]

DoFinal(ReadOnlySpan<byte>, Span<byte>)

public override int DoFinal(ReadOnlySpan<byte> input, Span<byte> output)

Parameters

input ReadOnlySpan<byte>
output Span<byte>

Returns

int

DoFinal(Span<byte>)

public override int DoFinal(Span<byte> output)

Parameters

output Span<byte>

Returns

int

GetBlockSize()

public override int GetBlockSize()

Returns

int

GetOutputSize(int)

public override int GetOutputSize(int length)

Parameters

length int

Returns

int

GetUpdateOutputSize(int)

public override int GetUpdateOutputSize(int length)

Parameters

length int

Returns

int

Init(bool, ICipherParameters)

public override void Init(bool forEncryption, ICipherParameters parameters)

Parameters

forEncryption bool
parameters ICipherParameters

ProcessByte(byte)

public override byte[] ProcessByte(byte input)

Parameters

input byte

Returns

byte[]

ProcessByte(byte, byte[], int)

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

Parameters

input byte
output byte[]
outOff int

Returns

int

ProcessByte(byte, Span<byte>)

public override int ProcessByte(byte input, Span<byte> output)

Parameters

input byte
output Span<byte>

Returns

int

ProcessBytes(byte[], int, int)

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

Parameters

input byte[]
inOff int
length int

Returns

byte[]

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

public override 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

ProcessBytes(ReadOnlySpan<byte>, Span<byte>)

public override int ProcessBytes(ReadOnlySpan<byte> input, Span<byte> output)

Parameters

input ReadOnlySpan<byte>
output Span<byte>

Returns

int

Reset()

public override void Reset()