public final class StaticTslConfig
extends java.lang.Object
Class contains static properties of Integra-tsl module.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AES_ALGORITHM
Attribute that represents the key for the property that indicates the AES algorithm name.
|
static java.lang.String |
AES_NO_PADDING_ALG
Attribute that represents the key for the property that indicates the Padding algorithm for the AES cipher.
|
static java.lang.String |
AES_PASSWORD
Attribute that represents the key for the property that indicates the password for the AES algorithm.
|
static java.lang.String |
CONECTION_MAXSIZE
Constant attribute that represents name for property "connection.MaxSize".
|
static java.lang.String |
SSL_RESTRICTED_CIPHER_SUITES
Constant attribute that represents name for property "ssl.restricted.cipher.suites".
|
static java.lang.String |
SSL_RESTRICTED_PROTOCOLS
Constant attribute that represents name for property "ssl.restricted.protocols".
|
static java.lang.String |
STATIC_TSL_FILENAME
Constant attribute that represents the name of properties file.
|
static java.lang.String |
TSL_EU_LOTL_PREFIX
Constant attribute that represents the prefix
tsl.eu.lotl. |
static java.lang.String |
TSL_MAPPING_CERTCLASSIFICATION_ESEAL
Constant attribute that represents the key for the property that indicates the set of values recognized
for a certificate classification to 'Electronic Seal'.
|
static java.lang.String |
TSL_MAPPING_CERTCLASSIFICATION_ESIG
Constant attribute that represents the key for the property that indicates the set of values recognized
for a certificate classification to 'Electronic Signature'.
|
static java.lang.String |
TSL_MAPPING_CERTCLASSIFICATION_LEGALPERSON
Constant attribute that represents the key for the property that indicates the set of values recognized
for a certificate classification to 'Legal Person'.
|
static java.lang.String |
TSL_MAPPING_CERTCLASSIFICATION_NATURALPERSON
Constant attribute that represents the key for the property that indicates the set of values recognized
for a certificate classification to 'Natural Person'.
|
static java.lang.String |
TSL_MAPPING_CERTCLASSIFICATION_TSA
Constant attribute that represents the key for the property that indicates the set of values recognized
for a certificate classification to 'TimeStamping Authority'.
|
static java.lang.String |
TSL_MAPPING_CERTCLASSIFICATION_WSA
Constant attribute that represents the key for the property that indicates the set of values recognized
for a certificate classification to 'Web Service Authentication'.
|
static java.lang.String |
TSL_MAPPING_CERTQUALIFIED_NO
Constant attribute that represents the key for the property that indicates the set of values recognized
for a certificate qualified to 'NO'.
|
static java.lang.String |
TSL_MAPPING_CERTQUALIFIED_YES
Constant attribute that represents the key for the property that indicates the set of values recognized
for a certificate qualified to 'YES'.
|
static java.lang.String |
TSL_SERVICE_DETECTCERTINTSLINFOANDVALIDATION_VALIDATIONDATE_TIMEGAPALLOWED
Constant attribute that represents the key for the property that indicates the timgap allowed for the input
parameter in the service 'detectCertInTslInfoAndValidation' that represents the validation date.
|
static java.lang.String |
TSL_SIGNATURE_VERIFY_SPECIFICATION
Attribute that represents the key for the property that indicates the flag to indicate if it is
necessary to check the specification requirements for the TSL signature.
|
static java.lang.String |
TSL_SIGNATURE_VERIFY_STRUCTURE
Attribute that represents the key for the property that indicates the flag to indicate if it is
necessary to check the structure of the TSL signature.
|
static java.lang.String |
TSL_VALIDATION_CRL_TIMEOUT_CONNECTION
Constant attribute that represents the key for the property that indicates connection timeout to get a CRL (milliseconds).
|
static java.lang.String |
TSL_VALIDATION_CRL_TIMEOUT_READ
Constant attribute that represents the key for the property that indicates read timeout to get a CRL (milliseconds).
|
static java.lang.String |
TSL_VALIDATION_INITIAL_DATE
Attribute that represents the key for the property that indicates the initial date from which is
allowed to use TSL to validate certificates.
|
static java.lang.String |
TSL_VALIDATION_OCSP_INTERVAL_ALLOWED
Constant attribute that represents the key for the property that indicates the interval allowed to accept a OCSP response
by a specified validation date (seconds).
|
static java.lang.String |
TSL_VALIDATION_OCSP_TIMEOUT_CONNECTION
Attribute that represents the key for the property that indicates connection timeout for ocsp requests (milliseconds).
|
static java.lang.String |
TSL_VALIDATION_OCSP_TIMEOUT_READ
Constant attribute that represents the key for the property that indicates read timeout for ocsp requests (milliseconds).
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Properties |
getProperties()
Gets all properties from original file.
|
static java.util.Properties |
getProperties(java.lang.String prefix)
Obtains a collection of static properties which key name start with the prefix given.
|
static java.lang.String |
getProperty(java.lang.String propertyName)
Returns the value of property given.
|
static boolean |
reloadStaticTslConfig()
Method that load/reload the static integra-tsl properties
|
public static final java.lang.String STATIC_TSL_FILENAME
public static final java.lang.String TSL_EU_LOTL_PREFIX
tsl.eu.lotl..public static final java.lang.String TSL_SIGNATURE_VERIFY_STRUCTURE
public static final java.lang.String TSL_SERVICE_DETECTCERTINTSLINFOANDVALIDATION_VALIDATIONDATE_TIMEGAPALLOWED
public static final java.lang.String TSL_SIGNATURE_VERIFY_SPECIFICATION
public static final java.lang.String TSL_VALIDATION_OCSP_TIMEOUT_READ
public static final java.lang.String TSL_VALIDATION_OCSP_TIMEOUT_CONNECTION
public static final java.lang.String TSL_VALIDATION_CRL_TIMEOUT_READ
public static final java.lang.String TSL_VALIDATION_CRL_TIMEOUT_CONNECTION
public static final java.lang.String TSL_VALIDATION_INITIAL_DATE
public static final java.lang.String TSL_MAPPING_CERTCLASSIFICATION_NATURALPERSON
public static final java.lang.String TSL_MAPPING_CERTCLASSIFICATION_LEGALPERSON
public static final java.lang.String TSL_MAPPING_CERTCLASSIFICATION_ESIG
public static final java.lang.String TSL_MAPPING_CERTCLASSIFICATION_ESEAL
public static final java.lang.String TSL_MAPPING_CERTCLASSIFICATION_WSA
public static final java.lang.String TSL_MAPPING_CERTCLASSIFICATION_TSA
public static final java.lang.String TSL_MAPPING_CERTQUALIFIED_YES
public static final java.lang.String TSL_MAPPING_CERTQUALIFIED_NO
public static final java.lang.String TSL_VALIDATION_OCSP_INTERVAL_ALLOWED
public static final java.lang.String CONECTION_MAXSIZE
public static final java.lang.String AES_ALGORITHM
public static final java.lang.String AES_PASSWORD
public static final java.lang.String AES_NO_PADDING_ALG
public static final java.lang.String SSL_RESTRICTED_CIPHER_SUITES
public static final java.lang.String SSL_RESTRICTED_PROTOCOLS
public static java.util.Properties getProperties()
public static boolean reloadStaticTslConfig()
true if the properties file has been loaded,
otherwise false.public static java.lang.String getProperty(java.lang.String propertyName)
propertyName - name of property.public static java.util.Properties getProperties(java.lang.String prefix)
prefix - word placed in the beginning of the key name of property.