iya-sts
    Preparing search index...
    revoke: (scopeId: any, caId: any, spec: any) => any = revoke

    Type Declaration

      • (scopeId: any, caId: any, spec: any): any
      • Revokes one certificate issued by one authority, bumps that authority's CRL number, saves the row and publishes the CRL to the directory soon.

        Idempotent: revoking again keeps the earlier entry and answers already: true. A refusal is { ok: false, errors } carrying an error code.

        Parameters

        • scopeId: any

          the scope holding the authority

        • caId: any

          the authority's CA id

        • spec: any

          { serialHex, reason, subject, note }; the reason defaults to superseded

        Returns any

        { ok: true, entry, why } on success, or a refusal