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

26 lines
977 B
Plaintext

import { __decorate } from "tslib";
import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema";
import { Name, SubjectPublicKeyInfo } from "@peculiar/asn1-x509";
import { Attributes } from "./attributes";
export class CertificationRequestInfo {
constructor(params = {}) {
this.version = 0;
this.subject = new Name();
this.subjectPKInfo = new SubjectPublicKeyInfo();
this.attributes = new Attributes();
Object.assign(this, params);
}
}
__decorate([
AsnProp({ type: AsnPropTypes.Integer })
], CertificationRequestInfo.prototype, "version", void 0);
__decorate([
AsnProp({ type: Name })
], CertificationRequestInfo.prototype, "subject", void 0);
__decorate([
AsnProp({ type: SubjectPublicKeyInfo })
], CertificationRequestInfo.prototype, "subjectPKInfo", void 0);
__decorate([
AsnProp({ type: Attributes, implicit: true, context: 0, optional: true })
], CertificationRequestInfo.prototype, "attributes", void 0);