Package eu.emi.security.authn.x509.impl
Class ValidatorParamsExt
- java.lang.Object
-
- eu.emi.security.authn.x509.impl.ValidatorParams
-
- eu.emi.security.authn.x509.impl.ValidatorParamsExt
-
public class ValidatorParamsExt extends ValidatorParams
Contains parameters common for allX509CertChainValidatorimplementations which useRevocationParametersExt- Author:
- K. Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description protected RevocationParametersExtrevocationSettings-
Fields inherited from class eu.emi.security.authn.x509.impl.ValidatorParams
allowProxy, DEFAULT_PROXY_SUPPORT, initialListeners
-
-
Constructor Summary
Constructors Constructor Description ValidatorParamsExt()Default constructor: proxies are allowed, no initial update listeners, default revocation settings.ValidatorParamsExt(RevocationParametersExt revocationSettings, ProxySupport allowProxy)Allows for setting all parameters except the list of initial listenersValidatorParamsExt(RevocationParametersExt revocationSettings, ProxySupport allowProxy, java.util.Collection<? extends StoreUpdateListener> initialListeners)Full version, allows for setting all parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RevocationParametersExtgetRevocationSettings()voidsetRevocationSettings(RevocationParametersExt revocationSettings)voidsetRevocationSettings(RevocationParameters revocationSettings)Do not use this method - it will always throw an exception.-
Methods inherited from class eu.emi.security.authn.x509.impl.ValidatorParams
getInitialListeners, isAllowProxy, setAllowProxy, setInitialListeners
-
-
-
-
Field Detail
-
revocationSettings
protected RevocationParametersExt revocationSettings
-
-
Constructor Detail
-
ValidatorParamsExt
public ValidatorParamsExt()
Default constructor: proxies are allowed, no initial update listeners, default revocation settings.
-
ValidatorParamsExt
public ValidatorParamsExt(RevocationParametersExt revocationSettings, ProxySupport allowProxy)
Allows for setting all parameters except the list of initial listeners- Parameters:
revocationSettings- desired revocation settingsallowProxy- whether to allow proxies
-
ValidatorParamsExt
public ValidatorParamsExt(RevocationParametersExt revocationSettings, ProxySupport allowProxy, java.util.Collection<? extends StoreUpdateListener> initialListeners)
Full version, allows for setting all parameters.- Parameters:
revocationSettings- desired revocation settingsallowProxy- whether to allow proxiesinitialListeners- initial trust store update listeners
-
-
Method Detail
-
getRevocationSettings
public RevocationParametersExt getRevocationSettings()
- Overrides:
getRevocationSettingsin classValidatorParams- Returns:
- revocation checking settings
-
setRevocationSettings
public void setRevocationSettings(RevocationParametersExt revocationSettings)
- Parameters:
revocationSettings- revocation checking settings
-
setRevocationSettings
public void setRevocationSettings(RevocationParameters revocationSettings)
Do not use this method - it will always throw an exception. Use the one with extended parameters.- Overrides:
setRevocationSettingsin classValidatorParams- Parameters:
revocationSettings- revocation checking settings
-
-