be.ehealth.businessconnector.genericasync.helper

## Interface CommonAsyncService

- All Known Subinterfaces:
    MedAdminService, MemberDataService
  All Known Implementing Classes:
    DefaultCommonAsyncService, MedadminServiceImpl, MemberDataServiceImpl

      public interface CommonAsyncService

  Interface for common generic asynchrounous service operations and validation methods.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ConfirmResponse` | `confirmAll(ProcessedGetResponse getResponse)`
    `ConfirmResponse` | `confirmAllMessages(ProcessedGetResponse getResponse)`
    `ConfirmResponse` | `confirmAllTAcks(ProcessedGetResponse getResponse)`
    `ConfirmResponse` | `confirmMessage(ProcessedMsgResponse msgResponse)`
    `ConfirmResponse` | `confirmTAck(ProcessedTAckResponse tAckResponse)`
    `SignatureVerificationResult` | `validateXadesTWithManifest(TAckResponse tAckResponse, Blob postedBlob, byte[] xadesT)` Method to validate asynchrounously the signature of a tack response against the original posted blob.

- - ### Method Detail

    - #### confirmAll

          ConfirmResponse confirmAll(ProcessedGetResponse getResponse)
                              throws ConnectorException

      Throws:
        `ConnectorException`

    - #### confirmAllTAcks

          ConfirmResponse confirmAllTAcks(ProcessedGetResponse getResponse)
                                   throws ConnectorException

      Throws:
        `ConnectorException`

    - #### confirmAllMessages

          ConfirmResponse confirmAllMessages(ProcessedGetResponse getResponse)
                                      throws ConnectorException

      Throws:
        `ConnectorException`

    - #### confirmTAck

          ConfirmResponse confirmTAck(ProcessedTAckResponse tAckResponse)
                               throws ConnectorException

      Throws:
        `ConnectorException`

    - #### confirmMessage

          ConfirmResponse confirmMessage(ProcessedMsgResponse msgResponse)
                                  throws ConnectorException

      Throws:
        `ConnectorException`

    - #### validateXadesTWithManifest

          SignatureVerificationResult validateXadesTWithManifest(TAckResponse tAckResponse,
                                                                 Blob postedBlob,
                                                                 byte[] xadesT)
                                                          throws GenAsyncBusinessConnectorException

      Method to validate asynchrounously the signature of a tack response against the original posted blob.
      Parameters:
        `tAckResponse` - the signed tack response
        `postedBlob` - the blob posted as the the original request. The signature must contain a manifest linked to this blob
        `xadesT` - the signature to be verified
      Returns:
      Throws:
        `GenAsyncBusinessConnectorException`

Connector Packaging PERSNURSE 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.