secret_bag.js 510 B

123456789101112131415161718
  1. import { __decorate } from "tslib";
  2. import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema";
  3. export class SecretBag {
  4. secretTypeId = "";
  5. secretValue = new ArrayBuffer(0);
  6. constructor(params = {}) {
  7. Object.assign(this, params);
  8. }
  9. }
  10. __decorate([
  11. AsnProp({ type: AsnPropTypes.ObjectIdentifier })
  12. ], SecretBag.prototype, "secretTypeId", void 0);
  13. __decorate([
  14. AsnProp({
  15. type: AsnPropTypes.Any,
  16. context: 0,
  17. })
  18. ], SecretBag.prototype, "secretValue", void 0);