ASN1GeneralizedTime

Implements ASN1Encodable.

Represents an ASN.1 generalized time value.

Constructor

function constructor(
	year: number,
	month: number,
	date: number,
	hours: number,
	minutes: number,
	seconds: number,
	milliseconds: number
): this;

Parameters

  • year
  • month: Unlike Date, this must is one-based (e.g. January is 1)
  • date
  • hours:
  • minutes
  • seconds
  • milliseconds

Methods

Properties

interface Properties {
	class: ASN1Class;
	form: ASN1Form;
	tag: number;
	year: number;
	month: number;
	date: number;
	hours: number;
	minutes: number;
	seconds: number;
	milliseconds: number;
}
  • class
  • type
  • tag
  • year
  • month: Unlike Date, this must is one-based (e.g. January is 1)
  • date
  • hours:
  • minutes
  • seconds
  • milliseconds