class SpiffeTrustManager extends X509ExtendedTrustManager {

    @Override
    public void checkServerTrusted(@NonNull final X509Certificate[] chain, final String authType)
            throws CertificateException {
        validatePeerChain(chain);
    }

    public  SpiffeTrustManager(@NonNull final BundleSource<X509Bundle> x509BundleSource,
                              @NonNull final Supplier<Set<SpiffeId>> acceptedSpiffeIdsSupplier);
    public  SpiffeTrustManager(@NonNull final BundleSource<X509Bundle> x509BundleSource);

}