first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { __decorate } from "tslib";
import { AsnProp } from "@peculiar/asn1-schema";
import { Time } from "./time";
export class Validity {
constructor(params) {
this.notBefore = new Time(new Date());
this.notAfter = new Time(new Date());
if (params) {
this.notBefore = new Time(params.notBefore);
this.notAfter = new Time(params.notAfter);
}
}
}
__decorate([
AsnProp({ type: Time })
], Validity.prototype, "notBefore", void 0);
__decorate([
AsnProp({ type: Time })
], Validity.prototype, "notAfter", void 0);