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

31 lines
1.0 KiB
Plaintext

var SafeContents_1;
import { __decorate } from "tslib";
import { AsnArray, AsnType, AsnTypeTypes, AsnProp, AsnPropTypes } from "@peculiar/asn1-schema";
import { PKCS12Attribute } from "./attribute";
export class SafeBag {
constructor(params = {}) {
this.bagId = "";
this.bagValue = new ArrayBuffer(0);
Object.assign(this, params);
}
}
__decorate([
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
], SafeBag.prototype, "bagId", void 0);
__decorate([
AsnProp({ type: AsnPropTypes.Any, context: 0 })
], SafeBag.prototype, "bagValue", void 0);
__decorate([
AsnProp({ type: PKCS12Attribute, repeated: "set", optional: true })
], SafeBag.prototype, "bagAttributes", void 0);
let SafeContents = SafeContents_1 = class SafeContents extends AsnArray {
constructor(items) {
super(items);
Object.setPrototypeOf(this, SafeContents_1.prototype);
}
};
SafeContents = SafeContents_1 = __decorate([
AsnType({ type: AsnTypeTypes.Sequence, itemType: SafeBag })
], SafeContents);
export { SafeContents };