uk.gov.ida.saml.metadata.MetadataResolverRepository Maven / Gradle / Ivy
package uk.gov.ida.saml.metadata;
import com.nimbusds.jose.jwk.JWK;
import org.opensaml.saml.metadata.resolver.MetadataResolver;
import org.opensaml.xmlsec.signature.support.impl.ExplicitKeySignatureTrustEngine;
import java.security.cert.X509Certificate;
import java.util.List;
import java.util.Map;
import java.util.Optional;
public interface MetadataResolverRepository {
Optional getMetadataResolver(String entityId);
List getResolverEntityIds();
Optional getSignatureTrustEngine(String entityId);
Map getMetadataResolvers();
List getTrustAnchorsEntityIds();
void refresh();
List sortCertsByDate(JWK trustAnchor);
}