ValidityInput
Configures the certificate validity window.
If notAfter is omitted, it is derived from notBefore plus days. If both notAfter and days are omitted, the certificate is valid for 30 days.
ts
interface ValidityInput {
readonly notBefore?: Date;
readonly notAfter?: Date;
readonly days?: number;
}Properties
readonlynotBefore?:Date— Start of the validity window.Defaults to the current time.
readonlynotAfter?:Date— End of the validity window.Must be later than
notBefore.readonlydays?:number— Number of days to add tonotBeforewhennotAfteris omitted.