UNPKG

@peculiar/asn1-x509

Version:

ASN.1 schema of `Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile` (RFC5280)

14 lines (13 loc) 273 B
/** * ```asn1 * Time ::= CHOICE { * utcTime UTCTime, * generalTime GeneralizedTime } * ``` */ export declare class Time { utcTime?: Date; generalTime?: Date; constructor(time?: Date | string | number | Partial<Time>); getTime(): Date; }