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 Type
    Method
    Description
    getBundleForTrustDomain(@NonNull TrustDomain trustDomain)
    Returns the bundle of type T associated to the given trust domain.
  • Method Details

    • getBundleForTrustDomain

      T getBundleForTrustDomain(@NonNull @NonNull TrustDomain trustDomain) throws BundleNotFoundException
      Returns the bundle of type T associated to the given trust domain.
      Parameters:
      trustDomain - an instance of a TrustDomain
      Returns:
      the a bundle of type T for the given trust domain
      Throws:
      BundleNotFoundException - if no bundle is found for the given trust domain