Interface EntityStatementRetriever
-
- All Known Implementing Classes:
DefaultEntityStatementRetriever
public interface EntityStatementRetriever
Entity statement retriever for resolving trust chains.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityStatementfetchEntityConfiguration(EntityID target)Fetches an entity configuration.EntityStatementfetchEntityStatement(URI federationAPIEndpoint, EntityID issuer, EntityID subject)Fetches an entity statement.
-
-
-
Method Detail
-
fetchEntityConfiguration
EntityStatement fetchEntityConfiguration(EntityID target) throws ResolveException
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.
-
-