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
Contains parameters common for all
X509CertChainValidator
implementations
which use RevocationParametersExt
- Author:
- K. Benedyczak
-
Field Summary
FieldsFields inherited from class eu.emi.security.authn.x509.impl.ValidatorParams
allowProxy, DEFAULT_PROXY_SUPPORT, initialListeners
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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, Collection<? extends StoreUpdateListener> initialListeners) Full version, allows for setting all parameters. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRevocationSettings
(RevocationParametersExt revocationSettings) void
setRevocationSettings
(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 Details
-
revocationSettings
-
-
Constructor Details
-
ValidatorParamsExt
public ValidatorParamsExt()Default constructor: proxies are allowed, no initial update listeners, default revocation settings. -
ValidatorParamsExt
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, 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 Details
-
getRevocationSettings
- Overrides:
getRevocationSettings
in classValidatorParams
- Returns:
- revocation checking settings
-
setRevocationSettings
- Parameters:
revocationSettings
- revocation checking settings
-
setRevocationSettings
Do not use this method - it will always throw an exception. Use the one with extended parameters.- Overrides:
setRevocationSettings
in classValidatorParams
- Parameters:
revocationSettings
- revocation checking settings
-