Interface EntityStatementRetriever

All Known Implementing Classes:
DefaultEntityStatementRetriever

public interface EntityStatementRetriever
Entity statement retriever for resolving trust chains.
  • Method Details

    • fetchSelfIssuedEntityStatement

      Fetches an entity's self-issued statement from its federation entity configuration endpoint.
      Parameters:
      target - The entity ID. Must not be null.
      Returns:
      The entity statement.
      Throws:
      ResolveException - If fetching failed.
    • fetchEntityStatement

      EntityStatement fetchEntityStatement(URI federationAPIEndpoint, EntityID issuer, EntityID subject) throws ResolveException
      Fetches an entity statement from a federation API endpoint.
      Parameters:
      federationAPIEndpoint - The federation API endpoint. Must not be null.
      issuer - The entity statement issuer, typically the ID of the entity operating the endpoint. Must not be null.
      subject - The entity statement subject. Must not be null.
      Returns:
      The entity statement.
      Throws:
      ResolveException - If fetching failed.