Class TSAWebServiceInvoker
- java.lang.Object
-
- es.gob.afirma.tsaServiceInvoker.ws.TSAWebServiceInvoker
-
public class TSAWebServiceInvoker extends java.lang.ObjectClass that manages the invoke of TS@ web services.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.7, 12/11/2024.
-
-
Field Summary
Fields Modifier and Type Field Description static intVALIDATION_MODE_RENEW_TIMESTAMP_COMPLETEConstant attribute that identifies the validation mode SIMPLE of the time-stamp to send to renew time-stamp service of the TS@.static intVALIDATION_MODE_RENEW_TIMESTAMP_NONEConstant attribute that identifies the validation mode NONE of the time-stamp to send to renew time-stamp service of the TS@.static intVALIDATION_MODE_RENEW_TIMESTAMP_SIMPLEConstant attribute that identifies the validation mode SIMPLE of the time-stamp to send to renew time-stamp service of the TS@.
-
Constructor Summary
Constructors Constructor Description TSAWebServiceInvoker(java.util.Properties propertiesParam, java.util.Properties generalPropertiesParam)Constructor method for the class TSAWebServiceInvoker.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectperformCall(java.lang.String serviceName, java.lang.Object[] params, java.lang.String idClient)Method that performs the invocation to a method form TS@ web services.
-
-
-
Field Detail
-
VALIDATION_MODE_RENEW_TIMESTAMP_NONE
public static final int VALIDATION_MODE_RENEW_TIMESTAMP_NONE
Constant attribute that identifies the validation mode NONE of the time-stamp to send to renew time-stamp service of the TS@. In this mode, the previous time-stamp will not be validated before to call to the renew time-stamp service of the TS@.- See Also:
- Constant Field Values
-
VALIDATION_MODE_RENEW_TIMESTAMP_SIMPLE
public static final int VALIDATION_MODE_RENEW_TIMESTAMP_SIMPLE
Constant attribute that identifies the validation mode SIMPLE of the time-stamp to send to renew time-stamp service of the TS@. In this mode, the integrity of the previous time-stamp will be validated before to call to the renew time-stamp service of the TS@.- See Also:
- Constant Field Values
-
VALIDATION_MODE_RENEW_TIMESTAMP_COMPLETE
public static final int VALIDATION_MODE_RENEW_TIMESTAMP_COMPLETE
Constant attribute that identifies the validation mode SIMPLE of the time-stamp to send to renew time-stamp service of the TS@. In this mode, the previous time-stamp will be validated by the validation time-stamp service of the TS@ before to call to the renew time-stamp service of the TS@.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TSAWebServiceInvoker
public TSAWebServiceInvoker(java.util.Properties propertiesParam, java.util.Properties generalPropertiesParam)Constructor method for the class TSAWebServiceInvoker.java.- Parameters:
propertiesParam- Parameter that represents the properties defined on the configuration file.generalPropertiesParam- Parameter that represents the general properties of Integr@.
-
-
Method Detail
-
performCall
public final java.lang.Object performCall(java.lang.String serviceName, java.lang.Object[] params, java.lang.String idClient) throws TSAServiceInvokerExceptionMethod that performs the invocation to a method form TS@ web services.- Parameters:
serviceName- Parameter that represents the name of the service to invoke.params- List of parameters related to the method to invoke.idClient- client identifier of WS invocation.- Returns:
- the response of TS@.
- Throws:
TSAServiceInvokerException- If the method fails.
-
-