Click or drag to resize

LegacyPduGetMacTag Method

Calculate MAC and attach it to PDU.

Namespace:  Guardtime.KSI.Service
Assembly:  ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
public static ImprintTag GetMacTag(
	HashAlgorithm macAlgorithm,
	byte[] key,
	PduHeader header,
	PduPayload payload
)

Parameters

macAlgorithm
Type: Guardtime.KSI.HashingHashAlgorithm
MAC algorithm
key
Type: SystemByte
hmac key
header
Type: Guardtime.KSI.ServicePduHeader
KSI header
payload
Type: Guardtime.KSI.ServicePduPayload
KSI payload

Return Value

Type: ImprintTag
See Also