Click or drag to resize

LegacyPdu Class

Note: This API is now obsolete.

Legacy 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
[ObsoleteAttribute]
public abstract class LegacyPdu : CompositeTag

The LegacyPdu 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 propertyItem
Get or set TLV child object
(Inherited from CompositeTag.)
Public propertyMac
MAC
Public propertyNonCritical
Is tlv tag non critical.
(Inherited from TlvTag.)
Public propertyPayload
Get PDU payload.
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.)
Public methodGetEnumerator
Get Enumerator for TLV composite element.
(Inherited from CompositeTag.)
Public methodGetHashCode
Get TLV element hash code.
(Inherited from CompositeTag.)
Public methodStatic memberGetMacTag
Calculate MAC and attach it to PDU.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodParseChild
Parse child tag
(Overrides CompositeTagParseChild(ITlvTag).)
Public methodToString
Convert TLV element to string.
(Inherited from CompositeTag.)
Protected methodValidate
Validate the tag
(Overrides CompositeTagValidate(TagCounter).)
Public methodStatic memberValidateMac
Validate mac attached to PDU.
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