crl_bag.js 609 B

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