other_prime_info.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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, converter: AsnIntegerArrayBufferConverter,
  15. })
  16. ], OtherPrimeInfo.prototype, "prime", void 0);
  17. __decorate([
  18. AsnProp({
  19. type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter,
  20. })
  21. ], OtherPrimeInfo.prototype, "exponent", void 0);
  22. __decorate([
  23. AsnProp({
  24. type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter,
  25. })
  26. ], OtherPrimeInfo.prototype, "coefficient", void 0);
  27. let OtherPrimeInfos = OtherPrimeInfos_1 = class OtherPrimeInfos extends AsnArray {
  28. constructor(items) {
  29. super(items);
  30. Object.setPrototypeOf(this, OtherPrimeInfos_1.prototype);
  31. }
  32. };
  33. OtherPrimeInfos = OtherPrimeInfos_1 = __decorate([
  34. AsnType({
  35. type: AsnTypeTypes.Sequence, itemType: OtherPrimeInfo,
  36. })
  37. ], OtherPrimeInfos);
  38. export { OtherPrimeInfos };