|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.stagent.options.OptionsParameter
public class OptionsParameter
Tuning and configuration options for components of the security and trust agent. Options can be set either programmatically, as JVM options, or from a properties file. JVM and/or property based settings can be overridden by setting options programmatically.
| Field Summary | |
|---|---|
static String |
CRL_CACHE_LOCATION
String value that specifies the directory where CRLs will be cached. |
static String |
CRYPTOGRAHPER_SMIME_DIGEST_ALGORITHM
String value that specifies the digest algorithm used to hash messages by the SMIME cryptographer Valid option values: SHA1 SHA256 SHA384 SHA512 |
static String |
CRYPTOGRAHPER_SMIME_ENCRYPTION_ALGORITHM
String value that specifies the encryption algorithm used to encrypt messages by the SMIME cryptographer Valid option values: RSA_3DES AES128 AES192 AES256 |
static String |
DNS_CERT_RESOLVER_CACHE_TTL
Integer value specifies the time to live in seconds that a certificate can be held in the DNS certificate cache. |
static String |
DNS_CERT_RESOLVER_MAX_CACHE_SIZE
Integer value specifies the maximum number of certificates that can be held in the DNS certificate cache. |
static String |
DNS_CERT_RESOLVER_RETRIES
Integer value that specifies the number of times the DNS certificate resolvers will retry a query to the DNS server. |
static String |
DNS_CERT_RESOLVER_TIMEOUT
Integer value that specifies the query timeout in seconds for a DNS record. |
static String |
DNS_CERT_RESOLVER_USE_TCP
Boolean value that specifies if the DNS server should use TCP connections for queries. |
static String |
JCE_PROVIDER
String value that specifies the JCE provider that should be used for cryptography and certificate operations. |
static String |
JCE_PROVIDER_CLASSES
String value that specifies a comma delimited list of JCE provider classes that should be registered. |
static String |
JCE_SENSITIVE_PROVIDER_CLASSES
String value that specifies a comma delimited list of JCE provider classes that require access to sensitive cryptographic information such as secret and private keys. |
static String |
JCE_SENTITIVE_PROVIDER
String value that specifies the JCE provider that should be used for cryptography and certificate operations that require access to sensitive cryptographic information such as secret and private keys. |
static String |
LDAP_CERT_RESOLVER_CACHE_TTL
Integer value specifies the time to live in seconds that a certificate can be held in the LDAP certificate cache. |
static String |
LDAP_CERT_RESOLVER_MAX_CACHE_SIZE
Integer value specifies the maximum number of certificates that can be held in the LDAP certificate cache. |
static String |
USE_OUTGOING_POLICY_FOR_INCOMING_NOTIFICATIONS
Boolean value that determines if the set of outgoing anchors can be used to trust incoming MDN and DSN messages. |
| Constructor Summary | |
|---|---|
OptionsParameter(String name,
String value)
Constructor |
|
| Method Summary | |
|---|---|
String |
getParamName()
Gets the parameter name. |
String |
getParamValue()
Gets the parameter value. |
static boolean |
getParamValueAsBoolean(OptionsParameter param,
boolean defaultValue)
Gets the value of an options parameter as a boolean. |
static int |
getParamValueAsInteger(OptionsParameter param,
int defaultValue)
Gets the value of an options parameter as an integer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JCE_PROVIDER
JVM Parameter/Options Name: org.nhindirect.stagent.cryptography.JCEProviderName
public static final String JCE_SENTITIVE_PROVIDER
JVM Parameter/Options Name: org.nhindirect.stagent.cryptography.JCESensitiveProviderName
public static final String JCE_PROVIDER_CLASSES
JVM Parameter/Options Name: org.nhindirect.stagent.cryptography.JCEProviderClassNames
public static final String JCE_SENSITIVE_PROVIDER_CLASSES
JVM Parameter/Options Name: org.nhindirect.stagent.cryptography.JCESensitiveProviderClassNames
public static final String CRL_CACHE_LOCATION
JVM Parameter/Options Name: org.nhindirect.stagent.cert.CRLCacheLocation
public static final String DNS_CERT_RESOLVER_RETRIES
JVM Parameter/Options Name: org.nhindirect.stagent.cert.dnsresolver.ServerRetries
public static final String DNS_CERT_RESOLVER_TIMEOUT
JVM Parameter/Options Name: org.nhindirect.stagent.cert.dnsresolver.ServerTimeout
public static final String DNS_CERT_RESOLVER_USE_TCP
JVM Parameter/Options Name: org.nhindirect.stagent.cert.dnsresolver.ServerUseTCP
public static final String DNS_CERT_RESOLVER_MAX_CACHE_SIZE
JVM Parameter/Options Name: org.nhindirect.stagent.cert.dnsresolver.MaxCacheSize
public static final String DNS_CERT_RESOLVER_CACHE_TTL
JVM Parameter/Options Name: org.nhindirect.stagent.cert.dnsresolver.CacheTTL
public static final String LDAP_CERT_RESOLVER_MAX_CACHE_SIZE
JVM Parameter/Options Name: org.nhindirect.stagent.cert.ldapresolver.MaxCacheSize
public static final String LDAP_CERT_RESOLVER_CACHE_TTL
JVM Parameter/Options Name: org.nhindirect.stagent.cert.ldapresolver.CacheTTL
public static final String CRYPTOGRAHPER_SMIME_ENCRYPTION_ALGORITHM
JVM Parameter/Options Name: org.nhindirect.stagent.cryptographer.smime.EncryptionAlgorithm
public static final String CRYPTOGRAHPER_SMIME_DIGEST_ALGORITHM
JVM Parameter/Options Name: org.nhindirect.stagent.cryptographer.smime.DigestAlgorithm
public static final String USE_OUTGOING_POLICY_FOR_INCOMING_NOTIFICATIONS
JVM Parameter/Options Name: org.nhindirect.stagent.cert.ldapresolver.UseOutgoingPolForNoficiations
| Constructor Detail |
|---|
public OptionsParameter(String name,
String value)
name - The name of the parametervalue - The String value of the parameter| Method Detail |
|---|
public String getParamName()
public String getParamValue()
public static int getParamValueAsInteger(OptionsParameter param,
int defaultValue)
param - The parameter to retrieve the value fromdefaultValue - The default value to return if the parameter is null, the parameter value is null, of if
the value cannot be parse.
public static boolean getParamValueAsBoolean(OptionsParameter param,
boolean defaultValue)
param - The parameter to retrieve the value fromdefaultValue - The default value to return if the parameter is null, the parameter value is null, of if
the value cannot be parse.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||