public class RevocationParametersExt extends RevocationParameters implements Cloneable
RevocationParameters
.RevocationParameters.RevocationCheckingOrder
Modifier and Type | Field and Description |
---|---|
protected CRLParameters |
crlParameters |
static RevocationParametersExt |
IGNORE
Constant which can be used to simply turn off any revocation checking.
|
crlCheckingMode, ocspParameters, order, useAllEnabled
Constructor and Description |
---|
RevocationParametersExt()
Default constructor, uses default settings of CRLs and OCSP (see
RevocationParameters.RevocationParameters() and CRLParameters.CRLParameters() ). |
RevocationParametersExt(CrlCheckingMode crlCheckingMode,
CRLParameters crlParameters)
Deprecated.
|
RevocationParametersExt(CrlCheckingMode crlCheckingMode,
CRLParameters crlParameters,
OCSPParametes ocspParametes)
Constructor allowing to set CRL checking mode and all OCSP settings.
|
RevocationParametersExt(CrlCheckingMode crlCheckingMode,
CRLParameters crlParameters,
OCSPParametes ocspParametes,
boolean useAllEnabled,
RevocationParameters.RevocationCheckingOrder order)
Full fledged constructor.
|
Modifier and Type | Method and Description |
---|---|
RevocationParametersExt |
clone()
Clone the instance
|
CRLParameters |
getCrlParameters()
Returns CRL parameters
|
void |
setCrlParameters(CRLParameters crlParameters)
Sets CRL parameters to be used.
|
getCrlCheckingMode, getOcspParameters, getOrder, isUseAllEnabled, setCrlCheckingMode, setOcspParameters, setOrder, setUseAllEnabled
public static final RevocationParametersExt IGNORE
protected CRLParameters crlParameters
public RevocationParametersExt()
RevocationParameters.RevocationParameters()
and CRLParameters.CRLParameters()
).@Deprecated public RevocationParametersExt(CrlCheckingMode crlCheckingMode, CRLParameters crlParameters)
RevocationParametersExt(CrlCheckingMode, CRLParameters, OCSPParametes)
insteadRevocationParameters.RevocationParameters(CrlCheckingMode, OCSPParametes)
crlCheckingMode
- CRL modecrlParameters
- additional CRL sources and settingspublic RevocationParametersExt(CrlCheckingMode crlCheckingMode, CRLParameters crlParameters, OCSPParametes ocspParametes)
RevocationParameters.RevocationParameters(CrlCheckingMode, OCSPParametes)
crlCheckingMode
- CRL modecrlParameters
- additional CRL sources and settingsocspParametes
- OCSP settingspublic RevocationParametersExt(CrlCheckingMode crlCheckingMode, CRLParameters crlParameters, OCSPParametes ocspParametes, boolean useAllEnabled, RevocationParameters.RevocationCheckingOrder order)
crlCheckingMode
- CRL modecrlParameters
- additional CRL sources and settingsocspParametes
- OCSP settingsuseAllEnabled
- useful only if more then one revocation method is enabled. If this parameter is true
then all enabled revocation sources are tried, even if the first one returns that certificate is valid.order
- in what order the configured revocations methods should be tried.
Significant only if more then one source is enabled.public CRLParameters getCrlParameters()
public void setCrlParameters(CRLParameters crlParameters)
crlParameters
- CRL parameters to be usedpublic RevocationParametersExt clone()
RevocationParameters
clone
in class RevocationParameters
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.