public class OCSPPreferencesImpl extends CommonPreferencesImpl implements OCSPPreferences
| Constructor and Description |
|---|
OCSPPreferencesImpl()
Sets the defaults.
|
| Modifier and Type | Method and Description |
|---|---|
protected PreferencesMap |
createChild(String myKey) |
boolean |
getAllowOCSPNoCheck()
Allow OCSP NoCheck Extension
|
HashAlgorithm |
getDigestAlgorithm()
Digest Algorithm to be used for OCSPRequests CertID
|
boolean |
getDoSignRequest()
Gets whether OCSP request would be signed or not.
|
boolean |
getGoOnline()
Indicates if online OCSP server can be contacted for revocation information
|
boolean |
getIgnoreValidityDates()
Indicates if OCSP validity needs to be honored
|
long |
getMaxClockSkew()
Gets the maximum Skew time allowed between the OCSP Server's clock and
the local computer.
|
protected String[] |
getNonCloneableKeys() |
String |
getOcspServerURL()
Gets the Server URL configured to lookup for OCSP Responses.
|
protected Object |
getPrefValueFromString(String prefName,
String value) |
PKICredential |
getRequestSignerCredential()
Gets the Alias of the credential to be used for signing the OCSP Request
|
boolean |
getRequireOCSPCertHash()
Indicates if OCSP Response CertID needs to be have certificate hash
|
long |
getResponseFreshness()
Gets the allowed OCSP Response freshness.
|
boolean |
getSendNonce()
Gets Whether a nonce should be a part of the OCSP request.
|
OCSPURLtoConsultOption |
getURLtoConsult()
Gets The type of OCSP Server URL to use for fetching revocation information
|
boolean |
getUseCache()
Indicates if OCSP Response needs to be cached/used till OCSP nextUpdate
|
PreferencesMap |
newInstance()
Get the new instance of the type
|
void |
setAllowOCSPNoCheck(boolean value) |
void |
setDigestAlgorithm(HashAlgorithm algo) |
void |
setDoSignRequest(boolean doSignRequest)
Sets whether OCSP request should be signed or not
|
void |
setGoOnline(boolean value) |
void |
setIgnoreValidityDates(boolean value) |
void |
setMaxClockSkew(long maxClockSkew)
Sets the maximum Skew time allowed between the OCSP Server's clock and
the local computer.
|
void |
setOcspServerURL(String ocspServerURL)
Sets the Server URL to lookup for OCSP Responses.
|
void |
setRequestSignerCredential(PKICredential cred)
Sets the Alias of the credential to be used for signing the OCSP Request
|
void |
setRequireOCSPCertHash(boolean value) |
void |
setResponseFreshness(long responseFreshness)
Sets the allowed OCSP Response freshness.
|
void |
setSendNonce(boolean sendNonce)
Sets Whether a nonce should be a part of the OCSP request.
|
void |
setURLtoConsult(OCSPURLtoConsultOption urlToConsult)
Sets The type of OCSP Server URL to use for fetching revocation information
|
void |
setUseCache(boolean value) |
getRevocationCheck, setRevocationCheckclone, get, getPreference, put, setPreferencegetRevocationCheckpublic OCSPPreferencesImpl()
protected Object getPrefValueFromString(String prefName, String value)
getPrefValueFromString in class CommonPreferencesImplpublic boolean getDoSignRequest()
getDoSignRequest in interface OCSPPreferencespublic void setDoSignRequest(boolean doSignRequest)
doSignRequest - the whether OCSP request should be signed or not.public long getMaxClockSkew()
getMaxClockSkew in interface OCSPPreferencespublic void setMaxClockSkew(long maxClockSkew)
maxClockSkew - The maxClockSkew to set.public String getOcspServerURL()
getOcspServerURL in interface OCSPPreferencespublic void setOcspServerURL(String ocspServerURL)
ocspServerURL - The Server URL to lookup for OCSP Responsespublic PKICredential getRequestSignerCredential()
getRequestSignerCredential in interface OCSPPreferencespublic void setRequestSignerCredential(PKICredential cred)
cred - Alias of the credential to be used for signing the OCSP Request.public long getResponseFreshness()
getResponseFreshness in interface OCSPPreferencespublic void setResponseFreshness(long responseFreshness)
responseFreshness - The responseFreshness to set.public boolean getSendNonce()
getSendNonce in interface OCSPPreferencespublic void setSendNonce(boolean sendNonce)
sendNonce - Whether a nonce should be a part of the OCSP request.public OCSPURLtoConsultOption getURLtoConsult()
getURLtoConsult in interface OCSPPreferencespublic void setURLtoConsult(OCSPURLtoConsultOption urlToConsult)
urlToConsult - The type of OCSP Server URL to use for fetching revocation informationpublic void setDigestAlgorithm(HashAlgorithm algo)
public HashAlgorithm getDigestAlgorithm()
OCSPPreferencesgetDigestAlgorithm in interface OCSPPreferencespublic void setUseCache(boolean value)
public boolean getUseCache()
OCSPPreferencesgetUseCache in interface OCSPPreferencespublic void setIgnoreValidityDates(boolean value)
public boolean getIgnoreValidityDates()
OCSPPreferencesgetIgnoreValidityDates in interface OCSPPreferencespublic void setGoOnline(boolean value)
public boolean getGoOnline()
OCSPPreferencesgetGoOnline in interface OCSPPreferencespublic void setAllowOCSPNoCheck(boolean value)
public boolean getAllowOCSPNoCheck()
OCSPPreferencesgetAllowOCSPNoCheck in interface OCSPPreferencespublic void setRequireOCSPCertHash(boolean value)
public boolean getRequireOCSPCertHash()
OCSPPreferencesgetRequireOCSPCertHash in interface OCSPPreferencespublic PreferencesMap newInstance()
PreferencesMapnewInstance in class PreferencesMapprotected PreferencesMap createChild(String myKey)
createChild in class PreferencesMapprotected String[] getNonCloneableKeys()
getNonCloneableKeys in class PreferencesMapCopyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.