UNPKG

x509-ts

Version:

Encode and decode X.509 (TLS) Certificates, Attribute Certificates, CRLs, and more.

11 lines 379 B
import { DERElement } from "asn1-ts"; export default class Validity { readonly notBefore: Date; readonly notAfter: Date; constructor(notBefore: Date, notAfter: Date); static fromElement(value: DERElement): Validity; toElement(): DERElement; static fromBytes(value: Uint8Array): Validity; toBytes(): Uint8Array; } //# sourceMappingURL=Validity.d.ts.map