@peculiar/asn1-x509
Version:
ASN.1 schema for X.509 certificates, certificate revocation lists, and related profile structures defined in RFC 5280.
18 lines (17 loc) • 334 B
TypeScript
import { Time } from "./time";
export interface IValidityParams {
notBefore: Date;
notAfter: Date;
}
/**
* ```asn1
* Validity ::= SEQUENCE {
* notBefore Time,
* notAfter Time }
* ```
*/
export declare class Validity {
notBefore: Time;
notAfter: Time;
constructor(params?: IValidityParams);
}