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
cipherIAeadCipher
Properties
AlgorithmName
The name of the algorithm this cipher implements.
public override string AlgorithmName { get; }
Property Value
Methods
DoFinal()
public override byte[] DoFinal()
Returns
- byte[]
DoFinal(byte[], int)
public override int DoFinal(byte[] output, int outOff)
Parameters
Returns
DoFinal(byte[], int, int)
public override byte[] DoFinal(byte[] input, int inOff, int inLen)
Parameters
Returns
- byte[]
DoFinal(ReadOnlySpan<byte>, Span<byte>)
public override int DoFinal(ReadOnlySpan<byte> input, Span<byte> output)
Parameters
inputReadOnlySpan<byte>outputSpan<byte>
Returns
DoFinal(Span<byte>)
public override int DoFinal(Span<byte> output)
Parameters
Returns
GetBlockSize()
public override int GetBlockSize()
Returns
GetOutputSize(int)
public override int GetOutputSize(int length)
Parameters
lengthint
Returns
GetUpdateOutputSize(int)
public override int GetUpdateOutputSize(int length)
Parameters
lengthint
Returns
Init(bool, ICipherParameters)
public override void Init(bool forEncryption, ICipherParameters parameters)
Parameters
forEncryptionboolparametersICipherParameters
ProcessByte(byte)
public override byte[] ProcessByte(byte input)
Parameters
inputbyte
Returns
- byte[]
ProcessByte(byte, byte[], int)
public override int ProcessByte(byte input, byte[] output, int outOff)
Parameters
Returns
ProcessByte(byte, Span<byte>)
public override int ProcessByte(byte input, Span<byte> output)
Parameters
Returns
ProcessBytes(byte[], int, int)
public override byte[] ProcessBytes(byte[] input, int inOff, int length)
Parameters
Returns
- byte[]
ProcessBytes(byte[], int, int, byte[], int)
public override int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff)
Parameters
Returns
ProcessBytes(ReadOnlySpan<byte>, Span<byte>)
public override int ProcessBytes(ReadOnlySpan<byte> input, Span<byte> output)
Parameters
inputReadOnlySpan<byte>outputSpan<byte>
Returns
Reset()
public override void Reset()