public class ValidatorParams extends Object
X509CertChainValidator implementations.| Modifier and Type | Field and Description | 
|---|---|
| protected ProxySupport | allowProxy | 
| static ProxySupport | DEFAULT_PROXY_SUPPORT | 
| protected Collection<? extends StoreUpdateListener> | initialListeners | 
| protected RevocationParameters | revocationSettings | 
| Constructor and Description | 
|---|
| ValidatorParams()Default constructor: proxies are allowed, no initial update listeners,
 default revocation settings. | 
| ValidatorParams(RevocationParameters revocationSettings,
               ProxySupport allowProxy)Allows for setting all parameters except the list of initial listeners | 
| ValidatorParams(RevocationParameters revocationSettings,
               ProxySupport allowProxy,
               Collection<? extends StoreUpdateListener> initialListeners)Full version, allows for setting all parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<? extends StoreUpdateListener> | getInitialListeners() | 
| RevocationParameters | getRevocationSettings() | 
| ProxySupport | isAllowProxy() | 
| void | setAllowProxy(ProxySupport allowProxy) | 
| void | setInitialListeners(Collection<? extends StoreUpdateListener> initialListeners) | 
| void | setRevocationSettings(RevocationParameters revocationSettings) | 
public static final ProxySupport DEFAULT_PROXY_SUPPORT
protected ProxySupport allowProxy
protected Collection<? extends StoreUpdateListener> initialListeners
protected RevocationParameters revocationSettings
public ValidatorParams()
public ValidatorParams(RevocationParameters revocationSettings, ProxySupport allowProxy)
revocationSettings - desired revocation settingsallowProxy - whether to allow proxiespublic ValidatorParams(RevocationParameters revocationSettings, ProxySupport allowProxy, Collection<? extends StoreUpdateListener> initialListeners)
revocationSettings - desired revocation settingsallowProxy - whether to allow proxiesinitialListeners - initial trust store update listenerspublic ProxySupport isAllowProxy()
public void setAllowProxy(ProxySupport allowProxy)
allowProxy - whether to allow proxy certificates during validationpublic Collection<? extends StoreUpdateListener> getInitialListeners()
public void setInitialListeners(Collection<? extends StoreUpdateListener> initialListeners)
initialListeners - collection of initial listeners of trust store updatespublic RevocationParameters getRevocationSettings()
public void setRevocationSettings(RevocationParameters revocationSettings)
revocationSettings - revocation checking settingsCopyright © 2012-2017 European Middleware Initiative. All Rights Reserved.