x509-ts
Version:
Encode and decode X.509 (TLS) Certificates, Attribute Certificates, CRLs, and more.
11 lines • 431 B
TypeScript
import { DERElement } from "asn1-ts";
export default class AttCertValidityPeriod {
readonly notBefore: Date;
readonly notAfter: Date;
constructor(notBefore: Date, notAfter: Date);
static fromElement(value: DERElement): AttCertValidityPeriod;
toElement(): DERElement;
static fromBytes(value: Uint8Array): AttCertValidityPeriod;
toBytes(): Uint8Array;
}
//# sourceMappingURL=AttCertValidityPeriod.d.ts.map