LegacyPduValidateMac Method
|
Validate mac attached to PDU.
Namespace:
Guardtime.KSI.Service
Assembly:
ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntaxpublic static bool ValidateMac(
byte[] pduBytes,
ImprintTag mac,
byte[] key
)
Public Shared Function ValidateMac (
pduBytes As Byte(),
mac As ImprintTag,
key As Byte()
) As Boolean
public:
static bool ValidateMac(
array<unsigned char>^ pduBytes,
ImprintTag^ mac,
array<unsigned char>^ key
)
static member ValidateMac :
pduBytes : byte[] *
mac : ImprintTag *
key : byte[] -> bool
Parameters
- pduBytes
- Type: SystemByte
PDU encoded as byte array - mac
- Type: Guardtime.KSI.ParserImprintTag
MAC - key
- Type: SystemByte
message key
Return Value
Type:
Booleantrue if MAC is valid
See Also