Click or drag to resize

Pdu Class

Protocol Data Unit
Inheritance Hierarchy

Namespace:  Guardtime.KSI.Service
Assembly:  ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
public abstract class Pdu : CompositeTag

The Pdu type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Get TLV element list size
(Inherited from CompositeTag.)
Public propertyErrorPayload
Error payload
Protected propertyExpectedTagType
Expected tag type
(Inherited from CompositeTag.)
Public propertyForceTlv16Encoding
Is TLV16 encoding forced when writing the TLV object
(Inherited from TlvTag.)
Public propertyForward
Is tlv forwarded.
(Inherited from TlvTag.)
Public propertyHeader
Get and set PDU header
Public propertyItem
Get or set TLV child object
(Inherited from CompositeTag.)
Public propertyMac
MAC
Public propertyNonCritical
Is tlv tag non critical.
(Inherited from TlvTag.)
Public propertyPayloads
List on payloads
Public propertyType
Tlv tag type.
(Inherited from TlvTag.)
Top
Methods
  NameDescription
Protected methodCheckTagType
Check tag type
(Inherited from CompositeTag.)
Protected methodCheckTagType(UInt32)
Checks if TLV tag type is valid and throws a TLV exception if the type is invalid.
(Inherited from TlvTag.)
Public methodEncode
Encode TLV object.
(Inherited from TlvTag.)
Public methodEncodeValue
Encode child TLV list to byte array.
(Inherited from CompositeTag.)
Public methodEquals(Object)
Compare TLV element to object.
(Inherited from TlvTag.)
Public methodEquals(TlvTag)
Compare tlv element to tlv element
(Inherited from TlvTag.)
Protected methodFinalize (Inherited from Object.)
Public methodGetChildren
Get array of child elements.
(Inherited from CompositeTag.)
Protected methodStatic memberGetEmptyMacTag
Get MAC tag that has hash algorithm set, but hash value is a byte array containing zeros.
Public methodGetEnumerator
Get Enumerator for TLV composite element.
(Inherited from CompositeTag.)
Public methodGetHashCode
Get TLV element hash code.
(Inherited from CompositeTag.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodParseChild
Parse child tag
(Overrides CompositeTagParseChild(ITlvTag).)
Protected methodSetMacValue
Set MAC tag value
Public methodToString
Convert TLV element to string.
(Inherited from CompositeTag.)
Protected methodValidate
Validate the tag
(Overrides CompositeTagValidate(TagCounter).)
Public methodStatic memberValidateMac
Validate PDU against given MAC.
Protected methodVerifyUnknownTag
Verify unknown tag for critical flag and throw exception.
(Inherited from CompositeTag.)
Public methodWriteTo
Write TlvTag to stream.
(Inherited from TlvTag.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Get Enumerator for TLV composite element.
(Inherited from CompositeTag.)
Top
See Also