fm.liveswitch.MacContext Class Reference

Public Member Functions

 MacContext (MacType type, DataBuffer key)
 
- Public Member Functions inherited from fm.liveswitch.MacContextBase
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...
 

Protected Member Functions

DataBuffer doCompute (DataBuffer input)
 
void doDestroy ()
 Destroys this instance. More...
 
- Protected Member Functions inherited from fm.liveswitch.MacContextBase
abstract fm.liveswitch.DataBuffer doCompute (fm.liveswitch.DataBuffer input)
 Computes the message authentication code (MAC). More...
 

Additional Inherited Members

- Static Public Member Functions inherited from fm.liveswitch.MacContextBase
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...
 

Constructor & Destructor Documentation

◆ MacContext()

fm.liveswitch.MacContext.MacContext ( MacType  type,
DataBuffer  key 
)

Member Function Documentation

◆ doCompute()

DataBuffer fm.liveswitch.MacContext.doCompute ( DataBuffer  input)
protected

◆ doDestroy()

void fm.liveswitch.MacContext.doDestroy ( )
protected

Destroys this instance.

Reimplemented from fm.liveswitch.MacContextBase.