16 lines
546 B
Plaintext
16 lines
546 B
Plaintext
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);
|