Interface EntityStatementRetriever
- All Known Implementing Classes:
DefaultEntityStatementRetriever
public interface EntityStatementRetriever
Entity statement retriever for resolving trust chains.
-
Method Summary
Modifier and TypeMethodDescriptionfetchEntityConfiguration
(EntityID target) Fetches an entity configuration.fetchEntityStatement
(URI federationAPIEndpoint, EntityID issuer, EntityID subject) Fetches an entity statement.
-
Method Details
-
fetchEntityConfiguration
Fetches an entity configuration.- Parameters:
target
- The entity ID. Must not benull
.- Returns:
- The entity statement.
- Throws:
ResolveException
- If fetching failed.
-
fetchEntityStatement
EntityStatement fetchEntityStatement(URI federationAPIEndpoint, EntityID issuer, EntityID subject) throws ResolveException Fetches an entity statement.- Parameters:
federationAPIEndpoint
- The federation API endpoint. Must not benull
.issuer
- The entity statement issuer, typically the ID of the entity operating the endpoint. Must not benull
.subject
- The entity statement subject. Must not benull
.- Returns:
- The entity statement.
- Throws:
ResolveException
- If fetching failed.
-