other_key_attribute.js 478 B

1234567891011121314
  1. import { __decorate } from "tslib";
  2. import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema";
  3. export class OtherKeyAttribute {
  4. constructor(params = {}) {
  5. this.keyAttrId = "";
  6. Object.assign(this, params);
  7. }
  8. }
  9. __decorate([
  10. AsnProp({ type: AsnPropTypes.ObjectIdentifier })
  11. ], OtherKeyAttribute.prototype, "keyAttrId", void 0);
  12. __decorate([
  13. AsnProp({ type: AsnPropTypes.Any, optional: true })
  14. ], OtherKeyAttribute.prototype, "keyAttr", void 0);