Class AfirmaConfiguration
java.lang.Object
es.juntadeandalucia.afirma.client.AfirmaConfiguration
Clase que encapsula la configuración del componente afirma-dss-client. Lee la
configuración
de afirma.properties. Dicho fichero ha de estar situado obligatoriamente en el classpath de
la aplicación. Se incluye un método de configuración avanzada.
de afirma.properties. Dicho fichero ha de estar situado obligatoriamente en el classpath de
la aplicación. Se incluye un método de configuración avanzada.
- Version:
- Revision: $Rev: 10758 $
, Last modified: $Date: 2018-01-05 12:15:58 +0100 (Fri, 05 Jan 2018) $
, Modified by: $Author: miguelangel.ager $ - Author:
- Ernesto Salgado Suárez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigure(Properties propiedades) Configuración avanzada del componente: permite configurar el componente a partir de un objeto
de propiedades.getHost()getIdApp()getUser()boolean
-
Field Details
-
BINARY_SEC_TOKEN
- See Also:
-
USER_NAME_TOKEN
- See Also:
-
DEFAULT_TRUSTORE
- See Also:
-
-
Constructor Details
-
AfirmaConfiguration
public AfirmaConfiguration()
-
-
Method Details
-
configure
- Throws:
AfirmaException
-
configure
Configuración avanzada del componente: permite configurar el componente a partir de un objeto
de propiedades. Se invoca del siguiente modo: new AfirmaClientImpl( new AfirmaConfiguration().configure(new Properties()))- Parameters:
propiedades- Objeto Properties que debe incluir la configuración del componente- Returns:
- AfirmaConfiguration
- Throws:
AfirmaException- En caso de error
-
getIdApp
-
getUser
-
getPassword
-
getHost
-
getSignatureType
- Throws:
AfirmaException
-
getXmlSignatureMode
- Throws:
AfirmaException
-
getSignatureForm
- Throws:
AfirmaException
-
isVersion6
public boolean isVersion6() -
getKeyName
-
getTrustStore
-
getTrustStorePassword
-
getSignaturePolicy
-
getKeystorePath
-
getKeystoreType
-
getKeystorePass
-
getKeystoreCertAlias
-
getHashAlgorithm
-
getAfirmaVersion
-
getAuthType
- Returns:
- the authType
-
getConnectionTimeout
-
getReceiveTimeout
-