Asn1BuilderGetEncoded Method

Gets ASN.1-encoded byte array that represents current state of builder wrapped using outer ASN.1 type.

Definition

Namespace: SysadminsLV.Asn1Parser
Assembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
C#
public byte[] GetEncoded(
	byte outerTag = 48
)

Parameters

outerTag  Byte  (Optional)
Outer type to wrap current state of builder. Outer type must not by the type that is used in primitive form only. Default outer tag is constructed SEQUENCE (0x30 or decimal 48).

Return Value

Byte
ASN.1-encoded byte array.

See Also