Class GcmBlockCipher
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Modes
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class GcmBlockCipher : IAeadBlockCipher
- Inheritance
-
GcmBlockCipher
- Implements
-
- Inherited Members
-
Constructors
GcmBlockCipher(IBlockCipher)
public GcmBlockCipher(IBlockCipher c)
Parameters
c
IBlockCipher
GcmBlockCipher(IBlockCipher, IGcmMultiplier)
public GcmBlockCipher(IBlockCipher c, IGcmMultiplier m)
Parameters
c
IBlockCipher
m
IGcmMultiplier
Properties
AlgorithmName
public virtual string AlgorithmName { get; }
Property Value
- string
Methods
DoFinal(byte[], int)
public int DoFinal(byte[] output, int outOff)
Parameters
output
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 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[] output, int outOff)
Parameters
input
byte
output
byte[]
outOff
int
Returns
- int
ProcessBytes(byte[], int, int, byte[], int)
public virtual int ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff)
Parameters
input
byte[]
inOff
int
len
int
output
byte[]
outOff
int
Returns
- int
Reset()
public virtual void Reset()