Class MacContext
A message authentication code (MAC) context.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class MacContext : MacContextBase
Constructors
MacContext(MacType, DataBuffer)
Initializes a new instance of the MacContext class.
Declaration
public MacContext(MacType type, DataBuffer key)
Parameters
Type | Name | Description |
---|---|---|
MacType | type | The type. |
DataBuffer | key | The key. |
Methods
DoCompute(DataBuffer)
Computes the message authentication code (MAC).
Declaration
protected override DataBuffer DoCompute(DataBuffer input)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | input | The input. |
Returns
Type | Description |
---|---|
DataBuffer |
Overrides
DoDestroy()
Destroys this instance.
Declaration
protected override void DoDestroy()