Asn1BuilderEncode Method

Gets ASN.1-encoded byte array that represents current state of builder wrapped using outer ASN.1 type and returns new builder instance that contains current builder state.

Definition

Namespace: SysadminsLV.Asn1Parser
Assembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
C#
public Asn1Builder Encode(
	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 type is constructed SEQUENCE (0x30 or decimal 48).

Return Value

Asn1Builder
A new instance of ASN.1 DER builder that contains the state of the current instance.

See Also