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
+20
View File
@@ -0,0 +1,20 @@
import { __decorate } from "tslib";
import { DigestInfo } from "@peculiar/asn1-rsa";
import { AsnProp, AsnPropTypes, OctetString } from "@peculiar/asn1-schema";
export class MacData {
constructor(params = {}) {
this.mac = new DigestInfo();
this.macSalt = new OctetString();
this.iterations = 1;
Object.assign(this, params);
}
}
__decorate([
AsnProp({ type: DigestInfo })
], MacData.prototype, "mac", void 0);
__decorate([
AsnProp({ type: OctetString })
], MacData.prototype, "macSalt", void 0);
__decorate([
AsnProp({ type: AsnPropTypes.Integer, defaultValue: 1 })
], MacData.prototype, "iterations", void 0);