other_prime_info.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. var OtherPrimeInfos_1;
  2. import { __decorate } from "tslib";
  3. import { AsnProp, AsnPropTypes, AsnIntegerArrayBufferConverter, AsnArray, AsnType, AsnTypeTypes } from "@peculiar/asn1-schema";
  4. export class OtherPrimeInfo {
  5. prime = new ArrayBuffer(0);
  6. exponent = new ArrayBuffer(0);
  7. coefficient = new ArrayBuffer(0);
  8. constructor(params = {}) {
  9. Object.assign(this, params);
  10. }
  11. }
  12. __decorate([
  13. AsnProp({
  14. type: AsnPropTypes.Integer,
  15. converter: AsnIntegerArrayBufferConverter,
  16. })
  17. ], OtherPrimeInfo.prototype, "prime", void 0);
  18. __decorate([
  19. AsnProp({
  20. type: AsnPropTypes.Integer,
  21. converter: AsnIntegerArrayBufferConverter,
  22. })
  23. ], OtherPrimeInfo.prototype, "exponent", void 0);
  24. __decorate([
  25. AsnProp({
  26. type: AsnPropTypes.Integer,
  27. converter: AsnIntegerArrayBufferConverter,
  28. })
  29. ], OtherPrimeInfo.prototype, "coefficient", void 0);
  30. let OtherPrimeInfos = OtherPrimeInfos_1 = class OtherPrimeInfos extends AsnArray {
  31. constructor(items) {
  32. super(items);
  33. Object.setPrototypeOf(this, OtherPrimeInfos_1.prototype);
  34. }
  35. };
  36. OtherPrimeInfos = OtherPrimeInfos_1 = __decorate([
  37. AsnType({
  38. type: AsnTypeTypes.Sequence,
  39. itemType: OtherPrimeInfo,
  40. })
  41. ], OtherPrimeInfos);
  42. export { OtherPrimeInfos };