content_info.js 498 B

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