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, setPreference
public GeneralPreferencesImpl()
public GeneralPreferencesImpl(GeneralPreferences prefs)
protected Object getPrefValueFromString(String prefName, String value)
getPrefValueFromString
in class PreferencesMap
public RevocationCheckOrder getRevCheckOrder()
getRevCheckOrder
in interface GeneralPreferences
public 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 GeneralPreferences
public void setDisableCache(boolean isDisabled)
isDisabled
- if caching is to be disabled or not (if true, caching is disabled)public long getCertCacheLifetime()
GeneralPreferences
getCertCacheLifetime
in interface GeneralPreferences
public void setCertCacheLifetime(long value)
public int getMaxSessions()
GeneralPreferences
getMaxSessions
in interface GeneralPreferences
public void setMaxSessions(int maxSessions)
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.