Package es.gob.afirma.integraFacade
Class GenerateMessageResponse
- java.lang.Object
-
- es.gob.afirma.integraFacade.GenerateMessageResponse
-
public final class GenerateMessageResponse extends java.lang.ObjectClass that manages the generation of response messages to invoke the DSS web services of @Firma.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.2, 18/04/2022.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidgenerateArchiveResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, ArchiveResponse archiveResponse)Method that processes the response of an archive signatures retrieve service to transform it to aArchiveResponseobject.static voidgenerateAsynchronousResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, AsynchronousResponse asyncResponse, java.lang.String service)Method that processes the response of an async processes service to transform it to aAsynchronousResponseobject.static voidgenerateBatchVerifyCertificateResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, BatchVerifyCertificateResponse batVerCerRes)Method that processes the response of a verify certificates on batch service to transform it to aBatchVerifyCertificateResponseobject.static voidgenerateBatchVerifySignatureResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, BatchVerifySignatureResponse batVerSigRes)Method that processes the response of a verify signatures on batch service to transform it to aBatchVerifySignatureResponseobject.static voidgenerateServerSignerResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, ServerSignerResponse serSigRes)Method that processes the response of a server signature service, server co-signature service, server counter-signature service or upgrade signature service to transform it to aServerSignerResponseobject.static voidgenerateTimestampResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, TimestampResponse timestampRes, java.lang.String service)Method that processes the response of a server timestamp service, server co-timestamp service or upgrade timestamp service to transform it to aTimestampResponseobject.static voidgenerateVerifyCertificateResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, VerifyCertificateResponse verCerRes)Method that processes the response of a verify certificate service to transform it to aVerifyCertificateResponseobject.static voidgenerateVerifySignatureResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, VerifySignatureResponse verSigRes)Method that processes the response of a verify signature service to transform it to aVerifySignatureResponseobject.
-
-
-
Method Detail
-
generateServerSignerResponse
public static void generateServerSignerResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, ServerSignerResponse serSigRes)Method that processes the response of a server signature service, server co-signature service, server counter-signature service or upgrade signature service to transform it to aServerSignerResponseobject.- Parameters:
propertiesResult- Parameter that represents the response of the web service as a map.serSigRes- Parameter that represents the object to update.
-
generateVerifySignatureResponse
public static void generateVerifySignatureResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, VerifySignatureResponse verSigRes)Method that processes the response of a verify signature service to transform it to aVerifySignatureResponseobject.- Parameters:
propertiesResult- Parameter that represents the response of the web service as a map.verSigRes- Parameter that represents the object to update.
-
generateVerifyCertificateResponse
public static void generateVerifyCertificateResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, VerifyCertificateResponse verCerRes)Method that processes the response of a verify certificate service to transform it to aVerifyCertificateResponseobject.- Parameters:
propertiesResult- Parameter that represents the response of the web service as a map.verCerRes- Parameter that represents the object to update.
-
generateBatchVerifySignatureResponse
public static void generateBatchVerifySignatureResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, BatchVerifySignatureResponse batVerSigRes)Method that processes the response of a verify signatures on batch service to transform it to aBatchVerifySignatureResponseobject.- Parameters:
propertiesResult- Parameter that represents the response of the web service as a map.batVerSigRes- Parameter that represents the object to update.
-
generateBatchVerifyCertificateResponse
public static void generateBatchVerifyCertificateResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, BatchVerifyCertificateResponse batVerCerRes)Method that processes the response of a verify certificates on batch service to transform it to aBatchVerifyCertificateResponseobject.- Parameters:
propertiesResult- Parameter that represents the response of the web service as a map.batVerCerRes- Parameter that represents the object to update.
-
generateAsynchronousResponse
public static void generateAsynchronousResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, AsynchronousResponse asyncResponse, java.lang.String service)Method that processes the response of an async processes service to transform it to aAsynchronousResponseobject.- Parameters:
propertiesResult- Parameter that represents the response of the web service as a map.asyncResponse- Parameter that represents the object to update.service- Parameter that represents the name async service process.
-
generateArchiveResponse
public static void generateArchiveResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, ArchiveResponse archiveResponse)Method that processes the response of an archive signatures retrieve service to transform it to aArchiveResponseobject.- Parameters:
propertiesResult- Parameter that represents the response of the web service as a map.archiveResponse- Parameter that represents the object to update.
-
generateTimestampResponse
public static void generateTimestampResponse(java.util.Map<java.lang.String,java.lang.Object> propertiesResult, TimestampResponse timestampRes, java.lang.String service)Method that processes the response of a server timestamp service, server co-timestamp service or upgrade timestamp service to transform it to aTimestampResponseobject.- Parameters:
propertiesResult- Parameter that represents the response of the web service as a map.timestampRes- Parameter that represents the object to update.service- Parameter that represents the service.
-
-