feat: 초기 프로젝트 설정 및 룰.md 파일 추가
This commit is contained in:
19
api.hyungi.net/node_modules/@peculiar/asn1-x509/build/es2015/validity.js
generated
vendored
Normal file
19
api.hyungi.net/node_modules/@peculiar/asn1-x509/build/es2015/validity.js
generated
vendored
Normal 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);
|
||||
Reference in New Issue
Block a user