Class GenerateMessageResponse


  • public final class GenerateMessageResponse
    extends java.lang.Object

    Class 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 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 a ServerSignerResponse object.
        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 a VerifySignatureResponse object.
        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 a VerifyCertificateResponse object.
        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 a BatchVerifySignatureResponse object.
        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 a BatchVerifyCertificateResponse object.
        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 a AsynchronousResponse object.
        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 a ArchiveResponse object.
        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 a TimestampResponse object.
        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.