Click or drag to resize

Mac Class

Message authentication code (MAC) functions
Inheritance Hierarchy
SystemObject
  CryptoSysAPIMac

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public class Mac

The Mac type exposes the following members.

Properties
 NameDescription
Public propertyErrCode Last error code (for Init, AddData and Final object methods only)
Top
Methods
 NameDescription
Public methodAddData(Byte) Adds a chunk of data in a byte array to be authenticated by the Mac object.
Public methodAddData(String) Adds a chunk of data in a string to be authenticated by the Mac object.
Public methodStatic memberBytesFromBytes Computes MAC value in byte format from byte input
Public methodDispose Dispose of this object and clear any stored data.
Public methodFinal Computes final MAC value for the Mac object.
Public methodStatic memberHexFromBytes Computes MAC value in hex-encoded format from byte input
Public methodStatic memberHexFromHex Computes MAC value in hex-encoded format from hex-encoded input
Public methodInit Initialises the Mac object ready for repeated incremental operations.
Public methodStatic memberInstance Create the one and only instance
Public methodReset Resets the context of the Mac object.
Top
See Also