Class SpiffeTrustManager

java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
io.spiffe.provider.SpiffeTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

public final class SpiffeTrustManager extends X509ExtendedTrustManager
Implementation of an X.509 TrustManager for the SPIFFE Provider.

Provides methods to validate X.509 certificates chains using trusted certs provided by a BundleSource maintained via the Workload API and to verify the SPIFFE IDs against a Set of accepted SPIFFE IDs provided by a Supplier.