svce_auth_info.js 635 B

12345678910111213141516171819
  1. import { __decorate } from "tslib";
  2. import { AsnProp, OctetString } from "@peculiar/asn1-schema";
  3. import { GeneralName } from "@peculiar/asn1-x509";
  4. export class SvceAuthInfo {
  5. constructor(params = {}) {
  6. this.service = new GeneralName();
  7. this.ident = new GeneralName();
  8. Object.assign(this, params);
  9. }
  10. }
  11. __decorate([
  12. AsnProp({ type: GeneralName })
  13. ], SvceAuthInfo.prototype, "service", void 0);
  14. __decorate([
  15. AsnProp({ type: GeneralName })
  16. ], SvceAuthInfo.prototype, "ident", void 0);
  17. __decorate([
  18. AsnProp({ type: OctetString, optional: true })
  19. ], SvceAuthInfo.prototype, "authInfo", void 0);