public class DefaultCommonAsyncService extends Object implements CommonAsyncService
Constructor and Description |
---|
DefaultCommonAsyncService(String projectName) |
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.
|
public DefaultCommonAsyncService(String projectName)
public ConfirmResponse confirmAll(ProcessedGetResponse getResponse) throws ConnectorException
confirmAll
in interface CommonAsyncService
ConnectorException
public ConfirmResponse confirmAllTAcks(ProcessedGetResponse getResponse) throws ConnectorException
confirmAllTAcks
in interface CommonAsyncService
ConnectorException
public ConfirmResponse confirmAllMessages(ProcessedGetResponse getResponse) throws ConnectorException
confirmAllMessages
in interface CommonAsyncService
ConnectorException
public ConfirmResponse confirmTAck(ProcessedTAckResponse tAckResponse) throws ConnectorException
confirmTAck
in interface CommonAsyncService
ConnectorException
public ConfirmResponse confirmMessage(ProcessedMsgResponse msgResponse) throws ConnectorException
confirmMessage
in interface CommonAsyncService
ConnectorException
public SignatureVerificationResult validateXadesTWithManifest(TAckResponse tAckResponse, Blob postedBlob, byte[] xadesT) throws GenAsyncBusinessConnectorException
CommonAsyncService
validateXadesTWithManifest
in interface CommonAsyncService
tAckResponse
- the signed tack responsepostedBlob
- the blob posted as the the original request. The signature must contain a manifest linked to this blobxadesT
- the signature to be verifiedGenAsyncBusinessConnectorException
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.