A message authentication code (MAC) context. More...
Public Member Functions | |
| fm.liveswitch.DataBuffer | compute (fm.liveswitch.DataBuffer input) |
| Computes the message authentication code (MAC). More... | |
| void | destroy () |
| Destroys this instance. More... | |
| fm.liveswitch.MacType | getType () |
| Gets the type. More... | |
| MacContextBase (fm.liveswitch.MacType type) | |
| Initializes a new instance of the fm.liveswitch.MacContextBase class. More... | |
Static Public Member Functions | |
| static fm.liveswitch.DataBuffer | compute (fm.liveswitch.MacType type, fm.liveswitch.DataBuffer key, fm.liveswitch.DataBuffer input) |
| Computes the message authentication code (MAC) for a given type. More... | |
Protected Member Functions | |
| abstract fm.liveswitch.DataBuffer | doCompute (fm.liveswitch.DataBuffer input) |
| Computes the message authentication code (MAC). More... | |
| abstract void | doDestroy () |
| Destroys this instance. More... | |
A message authentication code (MAC) context.
| fm.liveswitch.MacContextBase.MacContextBase | ( | fm.liveswitch.MacType | type | ) |
Initializes a new instance of the fm.liveswitch.MacContextBase class.
| type | The type. |
| fm.liveswitch.DataBuffer fm.liveswitch.MacContextBase.compute | ( | fm.liveswitch.DataBuffer | input | ) |
Computes the message authentication code (MAC).
| input | The input. |
|
static |
Computes the message authentication code (MAC) for a given type.
| type | The type. |
| key | The key. |
| input | The input. |
| void fm.liveswitch.MacContextBase.destroy | ( | ) |
Destroys this instance.
|
abstractprotected |
Computes the message authentication code (MAC).
| input | The input. |
|
abstractprotected |
Destroys this instance.
Reimplemented in fm.liveswitch.MacContext.
| fm.liveswitch.MacType fm.liveswitch.MacContextBase.getType | ( | ) |
Gets the type.