public class ResponseBuilderImpl extends Object implements ResponseBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
ResponseBuilder| Constructor and Description |
|---|
ResponseBuilderImpl()
default constructor : only needed for ModuleBootstrapHook.
|
ResponseBuilderImpl(Chapter4XmlValidator validator) |
ResponseBuilderImpl(Crypto crypto,
Chapter4XmlValidator validator)
Deprecated.
use ResponseBuilderImpl(Chapter4XmlValidator validator) instead , the HolderOfKeyCrypto is now retrieved directly from
the session.
|
@Deprecated public ResponseBuilderImpl(Crypto crypto, Chapter4XmlValidator validator)
crypto - validator - Chapter4XmlValidatorpublic ResponseBuilderImpl()
public ResponseBuilderImpl(Chapter4XmlValidator validator)
crypto - validator - Chapter4XmlValidatorpublic FaultType retrieveReturnInfo(ResponseType response)
ResponseBuilderretrieveReturnInfo in interface ResponseBuilderresponse - ResponseTypeFaultTypeResponseBuilder.retrieveReturnInfo(be.fgov.ehealth.commons.protocol.v1.ResponseType)public ChapterIVKmehrResponseWithTimeStampInfo validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(AskChap4MedicalAdvisorAgreementResponse response) throws UnsealConnectorException, ChapterIVBusinessConnectorException, TechnicalConnectorException
ResponseBuildervalidateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo in interface ResponseBuilderChapterIVKmehrResponseWithTimeStampInfoChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionUnsealConnectorExceptionResponseBuilder.validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(be.fgov.ehealth.chap4.protocol.v1.AskChap4MedicalAdvisorAgreementResponse)public ChapterIVKmehrResponseWithTimeStampInfo validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(AskChap4MedicalAdvisorAgreementResponse response, boolean ignoreWarnings) throws UnsealConnectorException, ChapterIVBusinessConnectorException, TechnicalConnectorException
ResponseBuildervalidateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo in interface ResponseBuilderUnsealConnectorExceptionChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionResponseBuilder.validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(be.fgov.ehealth.chap4.protocol.v1.AskChap4MedicalAdvisorAgreementResponse)public org.bouncycastle.tsp.TimeStampResponse convertToTimeStampResponse(byte[] bytes)
throws TechnicalConnectorException
convertToTimeStampResponse in interface ResponseBuilderTechnicalConnectorExceptionResponseBuilder.convertToTimeStampResponse(byte[])public Kmehrresponse convertToKmehrResKmehrresponse(byte[] bytes) throws ChapterIVBusinessConnectorException
convertToKmehrResKmehrresponse in interface ResponseBuilderChapterIVBusinessConnectorExceptionResponseBuilder.convertToKmehrResKmehrresponse(byte[])public ChapterIVKmehrResponseWithTimeStampInfo validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(ConsultChap4MedicalAdvisorAgreementResponse response) throws ChapterIVBusinessConnectorException, TechnicalConnectorException
ResponseBuildervalidateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo in interface ResponseBuilderresponse - ConsultChap4MedicalAdvisorAgreementResponseChapterIVKmehrResponseWithTimeStampInfoChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionResponseBuilder.validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(be.fgov.ehealth.chap4.protocol.v1.ConsultChap4MedicalAdvisorAgreementResponse)public ChapterIVKmehrResponseWithTimeStampInfo validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(ConsultChap4MedicalAdvisorAgreementResponse response, boolean ignoreWarnings) throws ChapterIVBusinessConnectorException, TechnicalConnectorException
ResponseBuildervalidateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo in interface ResponseBuilderChapterIVBusinessConnectorExceptionUnsealConnectorExceptionTechnicalConnectorExceptionResponseBuilder.validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(be.fgov.ehealth.chap4.protocol.v1.ConsultChap4MedicalAdvisorAgreementResponse)public static org.bouncycastle.tsp.TimeStampResponse getTimestampResponse(byte[] tsTokenResponse)
throws TechnicalConnectorException
TechnicalConnectorExceptionpublic UnsealedResponseWrapper<?> getUnsealedResponse(byte[] unsealedSecuredContent, ConversationType type)
unsealedSecuredContent - public byte[] getSecuredContent(Chap4MedicalAdvisorAgreementResponseWrapper<?> agreementResponse) throws ChapterIVBusinessConnectorException
agreementResponse - ChapterIVBusinessConnectorExceptionpublic void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging generic 4.6.0 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.