be.ehealth.businessconnector.genericasync.domain

## Class ProcessedMsgResponse<T>

- java.lang.Object
- - be.ehealth.businessconnector.genericasync.domain.ProcessedMsgResponse<T>

-     public class ProcessedMsgResponse<T>
      extends Object

  Wrapper class containing the various elements of a `MsgResponse`. It wraps and expose through getter metods:

  - the signature data, if relevant (xades and signed data)
  - the signature verification results generated by the Connector, if relevant (a `SignatureVerificationResult`
  - the raw decrypted blob where the above data was derived from, namely a a `EncryptedKnownContent`
  - the actual business response through the `getBusinessResponse` generic method

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProcessedMsgResponse(MsgResponse msgResponse, T businessResponse, EncryptedKnownContent encryptedKnownContent, SignatureVerificationResult signatureVerificationResult, byte[] signedData)`
    `ProcessedMsgResponse(MsgResponse msgResponse, T businessResponse, SignatureVerificationResult signatureVerificationResult, byte[] signedData)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `getBusinessResponse()`
    `MsgResponse` | `getMsgResponse()`
    `EncryptedKnownContent` | `getRawDecryptedBlob()`
    `SignatureVerificationResult` | `getSignatureVerificationResult()`
    `byte[]` | `getSignedData()`
    `void` | `setBusinessResponse(T businessResponse)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ProcessedMsgResponse

          public ProcessedMsgResponse(MsgResponse msgResponse,
                                      T businessResponse,
                                      EncryptedKnownContent encryptedKnownContent,
                                      SignatureVerificationResult signatureVerificationResult,
                                      byte[] signedData)

    - #### ProcessedMsgResponse

          public ProcessedMsgResponse(MsgResponse msgResponse,
                                      T businessResponse,
                                      SignatureVerificationResult signatureVerificationResult,
                                      byte[] signedData)

  - ### Method Detail

    - #### getBusinessResponse

          public T getBusinessResponse()

    - #### setBusinessResponse

          public void setBusinessResponse(T businessResponse)

    - #### getRawDecryptedBlob

          public EncryptedKnownContent getRawDecryptedBlob()

    - #### getSignatureVerificationResult

          public SignatureVerificationResult getSignatureVerificationResult()

    - #### getSignedData

          public byte[] getSignedData()

    - #### getMsgResponse

          public MsgResponse getMsgResponse()

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