iya-sts
    Preparing search index...
    revoke: (
        realmId: any,
        username: any,
        serialHex: any,
        reasonId: any,
        kind: any,
    ) => any = revoke

    Type Declaration

      • (realmId: any, username: any, serialHex: any, reasonId: any, kind: any): any
      • Revokes one of the holder's own certificates, found by serial among that holder's certificates only.

        A person's revocation raises CAEP (and, for keyCompromise, RISC) events.

        Parameters

        • realmId: any

          the realm; the ambient realm when absent

        • username: any

          the holder's username or application identifier

        • serialHex: any

          the certificate's serial number in hex

        • reasonId: any

          one of REVOCATION_REASONS; cessationOfOperation otherwise

        • kind: any

          'person' or 'application'; a person when absent

        Returns any

        the revocation's outcome with the certificate and reason, or { ok: false, errors } when the holder holds no such serial