Pdu Constructor (UInt32, PduHeader, PduPayload, HashAlgorithm, Byte)
|
Create aggregation pdu TLV element from KSI header and payload.
Namespace:
Guardtime.KSI.Service
Assembly:
ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntaxprotected Pdu(
uint tagType,
PduHeader header,
PduPayload payload,
HashAlgorithm hmacAlgorithm,
byte[] key
)
Protected Sub New (
tagType As UInteger,
header As PduHeader,
payload As PduPayload,
hmacAlgorithm As HashAlgorithm,
key As Byte()
)
protected:
Pdu(
unsigned int tagType,
PduHeader^ header,
PduPayload^ payload,
HashAlgorithm^ hmacAlgorithm,
array<unsigned char>^ key
)
new :
tagType : uint32 *
header : PduHeader *
payload : PduPayload *
hmacAlgorithm : HashAlgorithm *
key : byte[] -> Pdu
Parameters
- tagType
- Type: SystemUInt32
PDU TLV tag type - header
- Type: Guardtime.KSI.ServicePduHeader
PDU header - payload
- Type: Guardtime.KSI.ServicePduPayload
aggregation payload - hmacAlgorithm
- Type: Guardtime.KSI.HashingHashAlgorithm
MAC algorithm - key
- Type: SystemByte
hmac key
See Also