Package be.ehealth.businessconnector.mycarenet.agreement.domain

# Class SignedEncryptedBuilderResponse

java.lang.Object
be.ehealth.businessconnector.mycarenet.agreement.domain.SignedEncryptedBuilderResponse

public class SignedEncryptedBuilderResponse extends Object

Agreement business response, used by `ResponseObjectBuilder` to handle the WS response. It wraps and expose through getter methods:

- the signature data (xades and signed data)
- the signature verification results (a `SignatureVerificationResult`
- the business response as a byte array
- the raw decrypted blob where the above data was derived from, namely a a `EncryptedKnownContent`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SignedEncryptedBuilderResponse(EncryptedKnownContent encryptedKnownContent, SignatureVerificationResult signatureVerificationResult, byte[] signedData, byte[] xades, byte[] businessResponse)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `getBusinessResponse()`
  `EncryptedKnownContent`
  `getRawDecryptedBlob()`
  `SignatureVerificationResult`
  `getSignatureVerificationResult()`
  `byte[]`
  `getSignedData()`
  `byte[]`
  `getXades()`

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

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

- ## Constructor Details

  - ### SignedEncryptedBuilderResponse

    public SignedEncryptedBuilderResponse(EncryptedKnownContent encryptedKnownContent, SignatureVerificationResult signatureVerificationResult, byte[] signedData, byte[] xades, byte[] businessResponse)

- ## Method Details

  - ### getRawDecryptedBlob

    public EncryptedKnownContent getRawDecryptedBlob()

  - ### getSignatureVerificationResult

    public SignatureVerificationResult getSignatureVerificationResult()

  - ### getSignedData

    public byte[] getSignedData()

  - ### getXades

    public byte[] getXades()

  - ### getBusinessResponse

    public byte[] getBusinessResponse()