decocms
Version:
Deco CMS — Self-hostable MCP Gateway for managing AI connections and tools
16 lines (15 loc) • 546 B
JavaScript
import { __decorate } from "tslib";
import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema";
export class AttCertValidityPeriod {
constructor(params = {}) {
this.notBeforeTime = new Date();
this.notAfterTime = new Date();
Object.assign(this, params);
}
}
__decorate([
AsnProp({ type: AsnPropTypes.GeneralizedTime })
], AttCertValidityPeriod.prototype, "notBeforeTime", void 0);
__decorate([
AsnProp({ type: AsnPropTypes.GeneralizedTime })
], AttCertValidityPeriod.prototype, "notAfterTime", void 0);