@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Type Alias HistoricalGovernanceContextResult

    HistoricalGovernanceContextResult:
        | {
            ok: true;
            claims: GovernanceAuthorizationClaims;
            protectedHeader: Record<string, unknown>;
            keySource: "directory" | "archive";
            revocation: "current" | "absent" | "revoked";
            revocationDetail?: RevocationDetail;
        }
        | GovernanceAuthorizationFailure & { profile?: "3.2" }

    Type Declaration

    • {
          ok: true;
          claims: GovernanceAuthorizationClaims;
          protectedHeader: Record<string, unknown>;
          keySource: "directory" | "archive";
          revocation: "current" | "absent" | "revoked";
          revocationDetail?: RevocationDetail;
      }
      • ok: true
      • claims: GovernanceAuthorizationClaims
      • protectedHeader: Record<string, unknown>
      • keySource: "directory" | "archive"

        The key was in the issuer's current directory, or only in its archive.

      • revocation: "current" | "absent" | "revoked"

        The issuer origin's revocation status for the signing key: current (listed, not revoked), absent (the origin serves no list) or revoked. Online verification rejects every token a revoked key signed; an audit decides what a revocation means for a retained token from its detail (R9: only keyCompromise exposes, from its invalidity_date).

      • OptionalrevocationDetail?: RevocationDetail
    • GovernanceAuthorizationFailure & { profile?: "3.2" }
      • Optionalprofile?: "3.2"

        Set when the issuer is on the 3.2 profile, which this function does not verify.