@peculiar/asn1-x509
Version:
ASN.1 schema of `Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile` (RFC5280)
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);
}