Interface BundleSource<T>
- All Known Subinterfaces:
JwtSource,X509Source
- All Known Implementing Classes:
CachedJwtSource,DefaultJwtSource,DefaultX509Source,JwtBundle,JwtBundleSet,X509Bundle,X509BundleSet
public interface BundleSource<T>
Represents a source of bundles of type T keyed by trust domain.
-
Method Summary
Modifier and TypeMethodDescriptiongetBundleForTrustDomain(@NonNull TrustDomain trustDomain) Returns the bundle of type T associated to the given trust domain.
-
Method Details
-
getBundleForTrustDomain
Returns the bundle of type T associated to the given trust domain.- Parameters:
trustDomain- an instance of aTrustDomain- Returns:
- the a bundle of type T for the given trust domain
- Throws:
BundleNotFoundException- if no bundle is found for the given trust domain
-