other_key_attribute.js 704 B

123456789101112131415161718
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.OtherKeyAttribute = void 0;
  4. const tslib_1 = require("tslib");
  5. const asn1_schema_1 = require("@peculiar/asn1-schema");
  6. class OtherKeyAttribute {
  7. constructor(params = {}) {
  8. this.keyAttrId = "";
  9. Object.assign(this, params);
  10. }
  11. }
  12. exports.OtherKeyAttribute = OtherKeyAttribute;
  13. tslib_1.__decorate([
  14. (0, asn1_schema_1.AsnProp)({ type: asn1_schema_1.AsnPropTypes.ObjectIdentifier })
  15. ], OtherKeyAttribute.prototype, "keyAttrId", void 0);
  16. tslib_1.__decorate([
  17. (0, asn1_schema_1.AsnProp)({ type: asn1_schema_1.AsnPropTypes.Any, optional: true })
  18. ], OtherKeyAttribute.prototype, "keyAttr", void 0);