Class CcmBlockCipher
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Modes
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class CcmBlockCipher : IAeadBlockCipher
- Inheritance
-
CcmBlockCipher
- Implements
-
- Inherited Members
-
Constructors
CcmBlockCipher(IBlockCipher)
public CcmBlockCipher(IBlockCipher cipher)
Parameters
cipher
IBlockCipher
Properties
AlgorithmName
public virtual string AlgorithmName { get; }
Property Value
- string
Methods
DoFinal(byte[], int)
public virtual int DoFinal(byte[] outBytes, int outOff)
Parameters
outBytes
byte[]
outOff
int
Returns
- int
GetBlockSize()
public virtual int GetBlockSize()
Returns
- int
GetMac()
public virtual byte[] GetMac()
Returns
- byte[]
GetOutputSize(int)
public virtual int GetOutputSize(int len)
Parameters
len
int
Returns
- int
GetUnderlyingCipher()
public virtual IBlockCipher GetUnderlyingCipher()
Returns
- IBlockCipher
GetUpdateOutputSize(int)
public virtual int GetUpdateOutputSize(int len)
Parameters
len
int
Returns
- int
Init(bool, ICipherParameters)
public virtual void Init(bool forEncryption, ICipherParameters parameters)
Parameters
forEncryption
bool
parameters
ICipherParameters
ProcessAadByte(byte)
public virtual void ProcessAadByte(byte input)
Parameters
input
byte
ProcessAadBytes(byte[], int, int)
public virtual void ProcessAadBytes(byte[] inBytes, int inOff, int len)
Parameters
inBytes
byte[]
inOff
int
len
int
ProcessByte(byte, byte[], int)
public virtual int ProcessByte(byte input, byte[] outBytes, int outOff)
Parameters
input
byte
outBytes
byte[]
outOff
int
Returns
- int
ProcessBytes(byte[], int, int, byte[], int)
public virtual int ProcessBytes(byte[] inBytes, int inOff, int inLen, byte[] outBytes, int outOff)
Parameters
inBytes
byte[]
inOff
int
inLen
int
outBytes
byte[]
outOff
int
Returns
- int
ProcessPacket(byte[], int, int)
public virtual byte[] ProcessPacket(byte[] input, int inOff, int inLen)
Parameters
input
byte[]
inOff
int
inLen
int
Returns
- byte[]
ProcessPacket(byte[], int, int, byte[], int)
public virtual int ProcessPacket(byte[] input, int inOff, int inLen, byte[] output, int outOff)
Parameters
input
byte[]
inOff
int
inLen
int
output
byte[]
outOff
int
Returns
- int
Reset()
public virtual void Reset()