aa_clear_attrs.js 660 B

12345678910111213141516171819202122
  1. import { __decorate } from "tslib";
  2. import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema";
  3. import { GeneralName, Attribute } from "@peculiar/asn1-x509";
  4. export class ACClearAttrs {
  5. acIssuer = new GeneralName();
  6. acSerial = 0;
  7. attrs = [];
  8. constructor(params = {}) {
  9. Object.assign(this, params);
  10. }
  11. }
  12. __decorate([
  13. AsnProp({ type: GeneralName })
  14. ], ACClearAttrs.prototype, "acIssuer", void 0);
  15. __decorate([
  16. AsnProp({ type: AsnPropTypes.Integer })
  17. ], ACClearAttrs.prototype, "acSerial", void 0);
  18. __decorate([
  19. AsnProp({
  20. type: Attribute, repeated: "sequence",
  21. })
  22. ], ACClearAttrs.prototype, "attrs", void 0);