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 CommonAsyncServiceConnectorExceptionpublic ConfirmResponse confirmAllTAcks(ProcessedGetResponse getResponse) throws ConnectorException
confirmAllTAcks in interface CommonAsyncServiceConnectorExceptionpublic ConfirmResponse confirmAllMessages(ProcessedGetResponse getResponse) throws ConnectorException
confirmAllMessages in interface CommonAsyncServiceConnectorExceptionpublic ConfirmResponse confirmTAck(ProcessedTAckResponse tAckResponse) throws ConnectorException
confirmTAck in interface CommonAsyncServiceConnectorExceptionpublic ConfirmResponse confirmMessage(ProcessedMsgResponse msgResponse) throws ConnectorException
confirmMessage in interface CommonAsyncServiceConnectorExceptionpublic SignatureVerificationResult validateXadesTWithManifest(TAckResponse tAckResponse, Blob postedBlob, byte[] xadesT) throws GenAsyncBusinessConnectorException
CommonAsyncServicevalidateXadesTWithManifest in interface CommonAsyncServicetAckResponse - 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 generic 4.4.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.