Package es.gob.afirma.integraFacade
Class TSAFacadeBind
- java.lang.Object
-
- es.gob.afirma.integraFacade.TSAFacadeBind
-
public final class TSAFacadeBind extends java.lang.ObjectClass to bind protected methods of TSAFacadeBind.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 12/5/2016.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TimestampResponsegenerateTimestamp(TimestampRequest timestampReq, java.lang.String idClient)Method that obtains the response of the timestamp generate service.static TSAFacadeBindgetInstance()Method that obtains an instance of the class.TimestampResponserenewTimestamp(TimestampRequest timestampReq, java.lang.String idClient)Method that obtains the response of the timestamp renove service.TimestampResponseverifyTimestamp(TimestampRequest timestampReq, java.lang.String idClient)Method that obtains the response of the timestamp verify service.
-
-
-
Method Detail
-
getInstance
public static TSAFacadeBind getInstance()
Method that obtains an instance of the class.- Returns:
- the unique instance of the class.
-
generateTimestamp
public TimestampResponse generateTimestamp(TimestampRequest timestampReq, java.lang.String idClient)
Method that obtains the response of the timestamp generate service.- Parameters:
timestampReq- Parameter that represents the request of the server signature service.idClient- client identifier of ws invocation.- Returns:
- an object that represents the response of the server signature service.
-
verifyTimestamp
public TimestampResponse verifyTimestamp(TimestampRequest timestampReq, java.lang.String idClient)
Method that obtains the response of the timestamp verify service.- Parameters:
timestampReq- Parameter that represents the request of the server signature service.idClient- client identifier of ws invocation.- Returns:
- an object that represents the response of the server signature service.
-
renewTimestamp
public TimestampResponse renewTimestamp(TimestampRequest timestampReq, java.lang.String idClient)
Method that obtains the response of the timestamp renove service.- Parameters:
timestampReq- Parameter that represents the request of the server signature service.idClient- client identifier of ws invocation.- Returns:
- an object that represents the response of the server signature service.
-
-