package at.gv.egovernment.moa.id.iaik.config; import iaik.pki.pathvalidation.ValidationConfiguration; import java.security.cert.X509Certificate; import java.security.spec.AlgorithmParameterSpec; import at.gv.egovernment.moa.id.config.ConfigurationProvider; import at.gv.egovernment.moa.id.iaik.servertools.observer.ObservableImpl; /** * Implementation of interface needed to initialize an IAIK JSSE TrustManager * @author Paul Ivancsics * @version $Id$ */ public class ValidationConfigurationImpl extends ObservableImpl implements ValidationConfiguration { /** The ConfigurationProvider for the validation*/ private ConfigurationProvider conf; /** * Constructor * @param conf with the configuration */ public ValidationConfigurationImpl(ConfigurationProvider conf) { this.conf = conf; } /** * @see iaik.pki.pathvalidation.ValidationConfiguration#getChainingMode(java.security.cert.X509Certificate) */ public String getChainingMode(X509Certificate trustAnchor) { String chainingMode = conf.getChainingMode(trustAnchor); return chainingMode; } /** * @see iaik.pki.pathvalidation.ValidationConfiguration#getPublicKeyParamsAsSpec(java.security.cert.X509Certificate) */ public AlgorithmParameterSpec getPublicKeyParamsAsSpec(X509Certificate arg0) { return null; } /** * @see iaik.pki.pathvalidation.ValidationConfiguration#getPublicKeyParamsAsCert(java.security.cert.X509Certificate) */ public X509Certificate getPublicKeyParamsAsCert(X509Certificate arg0) { return null; } }