Files
NapCatQQ/.pnpm-store/v3/files/ff/1783d5bcb3b30fa27326bdd00dbd14403ebc4bec8a3366b04dc6bfa649bc816c9574541bfebbb20bd3a606b7cb0b8593e1dca4664feb033cf189ad921c4ea9
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

22 lines
819 B
Plaintext

import { __decorate } from "tslib";
import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema";
import { AlgorithmIdentifier } from "./algorithm_identifier";
import { TBSCertificate } from "./tbs_certificate";
export class Certificate {
constructor(params = {}) {
this.tbsCertificate = new TBSCertificate();
this.signatureAlgorithm = new AlgorithmIdentifier();
this.signatureValue = new ArrayBuffer(0);
Object.assign(this, params);
}
}
__decorate([
AsnProp({ type: TBSCertificate, raw: true })
], Certificate.prototype, "tbsCertificate", void 0);
__decorate([
AsnProp({ type: AlgorithmIdentifier })
], Certificate.prototype, "signatureAlgorithm", void 0);
__decorate([
AsnProp({ type: AsnPropTypes.BitString })
], Certificate.prototype, "signatureValue", void 0);