Asn1BuilderAddRfcDateTime Method

Adds date time value using RFC 5280 §4.1.2.5 encoding type.

Definition

Namespace: SysadminsLV.Asn1Parser
Assembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
C#
public Asn1Builder AddRfcDateTime(
	DateTime value
)

Parameters

value  DateTime
Value to encode.

Return Value

Asn1Builder
Current instance with added value.

Remarks

Dates prior to 2050 year are encoded using UTC Time and dates beginning with 2050 year are encoded using Generalized Time.

See Also