UNPKG

@peculiar/asn1-x509

Version:

ASN.1 schema of `Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile` (RFC5280)

16 lines (15 loc) 650 B
import { __decorate } from "tslib"; import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema"; import { id_ce } from "../object_identifiers"; export const id_ce_privateKeyUsagePeriod = `${id_ce}.16`; export class PrivateKeyUsagePeriod { constructor(params = {}) { Object.assign(this, params); } } __decorate([ AsnProp({ type: AsnPropTypes.GeneralizedTime, context: 0, implicit: true, optional: true }) ], PrivateKeyUsagePeriod.prototype, "notBefore", void 0); __decorate([ AsnProp({ type: AsnPropTypes.GeneralizedTime, context: 1, implicit: true, optional: true }) ], PrivateKeyUsagePeriod.prototype, "notAfter", void 0);