Asn1BuilderAddExplicit(Byte, FuncAsn1Builder, Asn1Builder) Method

Adds explicitly tagged type. Explicit (EXPLICIT OPTIONAL) must have at least one primitive or constructed nested type.

Definition

Namespace: SysadminsLV.Asn1Parser
Assembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
C#
public Asn1Builder AddExplicit(
	byte explicitTag,
	Func<Asn1Builder, Asn1Builder> selector
)

Parameters

explicitTag  Byte
Explicit tag number. This number equals to tag number in square brackets in ASN module definition of EXPLICIT.
selector  FuncAsn1Builder, Asn1Builder
Lambda expression to fill nested content.

Return Value

Asn1Builder
Current instance with added value.

Exceptions

ArgumentNullExceptionselector parameter is null.

See Also