derGeneralizedTime
Encodes a Date as a DER GeneralizedTime (tag 0x18), format YYYYMMDDHHMMSSZ.
Date
0x18
YYYYMMDDHHMMSSZ
Uses a four-digit year; required for dates outside the 1950–2049 range.
function derGeneralizedTime( date: Date, ): Uint8Array
Parameters
date