public class GeneralPreferencesImpl extends PreferencesMap implements GeneralPreferences
| Constructor and Description |
|---|
GeneralPreferencesImpl() |
GeneralPreferencesImpl(GeneralPreferences prefs) |
| Modifier and Type | Method and Description |
|---|---|
protected PreferencesMap |
createChild(String myKey) |
long |
getCertCacheLifetime()
Time in ms for which a certificate is cached in local cache
|
int |
getMaxRevInfoArchiveSize()
Gets the maximum size of revocation information that can be embedded
in a signature.
|
int |
getMaxSessions()
Maximum number of recursive certificate validations allowed
|
protected Object |
getPrefValueFromString(String prefName,
String value) |
RevocationCheckOrder |
getRevCheckOrder()
Gets the order of revocation checking
|
boolean |
isCacheDisabled()
Check if caching is to be disabled
|
PreferencesMap |
newInstance()
Get the new instance of the type
|
void |
setCertCacheLifetime(long value) |
void |
setDisableCache(boolean isDisabled)
Set if caching is to be disabled or not (if true, caching is disabled)
|
void |
setMaxRevInfoArchiveSize(int size)
Sets the maximum size of revocation information that can be embedded
in a signature.
|
void |
setMaxSessions(int maxSessions) |
void |
setRevCheckOrder(RevocationCheckOrder revCheckOrder)
Sets the order of revocation checking
|
clone, get, getNonCloneableKeys, getPreference, put, setPreferencepublic GeneralPreferencesImpl()
public GeneralPreferencesImpl(GeneralPreferences prefs)
protected Object getPrefValueFromString(String prefName, String value)
getPrefValueFromString in class PreferencesMappublic RevocationCheckOrder getRevCheckOrder()
getRevCheckOrder in interface GeneralPreferencespublic void setRevCheckOrder(RevocationCheckOrder revCheckOrder)
revCheckOrder - order of revocation checkingpublic int getMaxRevInfoArchiveSize()
public void setMaxRevInfoArchiveSize(int size)
size - the maximum size of revocation information that can be embedded in a signature.public boolean isCacheDisabled()
isCacheDisabled in interface GeneralPreferencespublic void setDisableCache(boolean isDisabled)
isDisabled - if caching is to be disabled or not (if true, caching is disabled)public long getCertCacheLifetime()
GeneralPreferencesgetCertCacheLifetime in interface GeneralPreferencespublic void setCertCacheLifetime(long value)
public int getMaxSessions()
GeneralPreferencesgetMaxSessions in interface GeneralPreferencespublic void setMaxSessions(int maxSessions)
public PreferencesMap newInstance()
PreferencesMapnewInstance in class PreferencesMapprotected PreferencesMap createChild(String myKey)
createChild in class PreferencesMapCopyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.