Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
fm
icelink
MacContext
Class MacContext
Hierarchy
MacContextBase
MacContext
Index
Constructors
constructor
Properties
_key
Methods
compute
destroy
do
Compute
do
Destroy
get
Type
get
Type
String
compute
Constructors
constructor
new
Mac
Context
(
type
:
MacType
, key
:
DataBuffer
)
:
MacContext
Parameters
type:
MacType
key:
DataBuffer
Returns
MacContext
Properties
Private
_key
_key
:
DataBuffer
Methods
compute
compute
(
input
:
DataBuffer
)
:
DataBuffer
Computes the message authentication code (MAC).
Parameters
input:
DataBuffer
The input.
Returns
DataBuffer
destroy
destroy
(
)
:
void
Destroys this instance.
Returns
void
do
Compute
do
Compute
(
input
:
DataBuffer
)
:
DataBuffer
Parameters
input:
DataBuffer
Returns
DataBuffer
do
Destroy
do
Destroy
(
)
:
void
Returns
void
get
Type
get
Type
(
)
:
MacType
Gets the type.
Returns
MacType
get
Type
String
get
Type
String
(
)
:
string
Returns
string
Static
compute
compute
(
type
:
MacType
, key
:
DataBuffer
, input
:
DataBuffer
)
:
DataBuffer
Computes the message authentication code (MAC) for a given type.
Parameters
type:
MacType
The type.
key:
DataBuffer
The key.
input:
DataBuffer
The input.
Returns
DataBuffer
Mac
Context
constructor
_key
compute
destroy
do
Compute
do
Destroy
get
Type
get
Type
String
compute