public class CRLPreferencesImpl extends CommonPreferencesImpl implements CRLPreferences
Constructor and Description |
---|
CRLPreferencesImpl()
Constructs the CRL Preferences with default values.
|
Modifier and Type | Method and Description |
---|---|
protected PreferencesMap |
createChild(String myKey) |
boolean |
getAlwaysConsultLocalURL()
Gets whether the local URL should be consulted for CRL lookup
|
boolean |
getGoOnline()
Indicates if online CRL repository can be contacted for revocation information
|
boolean |
getIgnoreValidityDates()
Indicates if CRL validity needs to be checked.
|
String |
getLDAPServer() |
String |
getLocalURI()
Local URL for CRL Lookup.
|
protected Object |
getPrefValueFromString(String prefName,
String value) |
boolean |
getRequireAKI()
Indicates if CRL AuthorityKeyIdentifier needs to be checked
|
boolean |
getUseCache()
Indicates if downloaded needs to be cached and used till CRL nextUpdate
|
long |
getValidityWindow()
Indicates the validity period of CRLs from the time of online download
|
PreferencesMap |
newInstance()
Get the new instance of the type
|
void |
setAlwaysConsultLocalURL(boolean alwaysConsultLocalURL)
Sets whether the local URL should be consulted for CRL lookup
|
void |
setGoOnline(boolean goOnline) |
void |
setIgnoreValidityDates(boolean ignoreValidityDates) |
void |
setLDAPServer(String server) |
void |
setLocalURI(String localURI)
Local URL for CRL Lookup.
|
void |
setRequireAKI(boolean requireAKI) |
void |
setUseCache(boolean useCache) |
void |
setValidityWindow(long validityWindow) |
getRevocationCheck, setRevocationCheck
clone, get, getNonCloneableKeys, getPreference, put, setPreference
getRevocationCheck
public CRLPreferencesImpl()
protected Object getPrefValueFromString(String prefName, String value)
getPrefValueFromString
in class CommonPreferencesImpl
public boolean getAlwaysConsultLocalURL()
getAlwaysConsultLocalURL
in interface CRLPreferences
public void setAlwaysConsultLocalURL(boolean alwaysConsultLocalURL)
alwaysConsultLocalURL
- whether the local URL should be consulted for CRL lookup.public String getLocalURI()
getLocalURI
in interface CRLPreferences
public void setLocalURI(String localURI)
localURI
- Local URL for CRL Lookup.public boolean getUseCache()
CRLPreferences
getUseCache
in interface CRLPreferences
public void setUseCache(boolean useCache)
public String getLDAPServer()
getLDAPServer
in interface CRLPreferences
public void setLDAPServer(String server)
public boolean getGoOnline()
CRLPreferences
getGoOnline
in interface CRLPreferences
public void setGoOnline(boolean goOnline)
public boolean getIgnoreValidityDates()
CRLPreferences
getIgnoreValidityDates
in interface CRLPreferences
public void setIgnoreValidityDates(boolean ignoreValidityDates)
public boolean getRequireAKI()
CRLPreferences
getRequireAKI
in interface CRLPreferences
public void setRequireAKI(boolean requireAKI)
public long getValidityWindow()
CRLPreferences
getValidityWindow
in interface CRLPreferences
public void setValidityWindow(long validityWindow)
public PreferencesMap newInstance()
PreferencesMap
newInstance
in class PreferencesMap
protected PreferencesMap createChild(String myKey)
createChild
in class PreferencesMap
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.