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