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)
ResponseBuilder
retrieveReturnInfo
in interface ResponseBuilder
response
- ResponseType
FaultType
ResponseBuilder.retrieveReturnInfo(be.fgov.ehealth.commons.protocol.v1.ResponseType)
public ChapterIVKmehrResponseWithTimeStampInfo validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(AskChap4MedicalAdvisorAgreementResponse response) throws UnsealConnectorException, ChapterIVBusinessConnectorException, TechnicalConnectorException
ResponseBuilder
validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo
in interface ResponseBuilder
ChapterIVKmehrResponseWithTimeStampInfo
ChapterIVBusinessConnectorException
TechnicalConnectorException
UnsealConnectorException
ResponseBuilder.validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(be.fgov.ehealth.chap4.protocol.v1.AskChap4MedicalAdvisorAgreementResponse)
public ChapterIVKmehrResponseWithTimeStampInfo validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(AskChap4MedicalAdvisorAgreementResponse response, boolean ignoreWarnings) throws UnsealConnectorException, ChapterIVBusinessConnectorException, TechnicalConnectorException
ResponseBuilder
validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo
in interface ResponseBuilder
UnsealConnectorException
ChapterIVBusinessConnectorException
TechnicalConnectorException
ResponseBuilder.validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(be.fgov.ehealth.chap4.protocol.v1.AskChap4MedicalAdvisorAgreementResponse)
public org.bouncycastle.tsp.TimeStampResponse convertToTimeStampResponse(byte[] bytes) throws TechnicalConnectorException
convertToTimeStampResponse
in interface ResponseBuilder
TechnicalConnectorException
ResponseBuilder.convertToTimeStampResponse(byte[])
public Kmehrresponse convertToKmehrResKmehrresponse(byte[] bytes) throws ChapterIVBusinessConnectorException
convertToKmehrResKmehrresponse
in interface ResponseBuilder
ChapterIVBusinessConnectorException
ResponseBuilder.convertToKmehrResKmehrresponse(byte[])
public ChapterIVKmehrResponseWithTimeStampInfo validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(ConsultChap4MedicalAdvisorAgreementResponse response) throws ChapterIVBusinessConnectorException, TechnicalConnectorException
ResponseBuilder
validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo
in interface ResponseBuilder
response
- ConsultChap4MedicalAdvisorAgreementResponseChapterIVKmehrResponseWithTimeStampInfo
ChapterIVBusinessConnectorException
TechnicalConnectorException
ResponseBuilder.validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(be.fgov.ehealth.chap4.protocol.v1.ConsultChap4MedicalAdvisorAgreementResponse)
public ChapterIVKmehrResponseWithTimeStampInfo validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(ConsultChap4MedicalAdvisorAgreementResponse response, boolean ignoreWarnings) throws ChapterIVBusinessConnectorException, TechnicalConnectorException
ResponseBuilder
validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo
in interface ResponseBuilder
ChapterIVBusinessConnectorException
UnsealConnectorException
TechnicalConnectorException
ResponseBuilder.validateTimestampAndretrieveChapterIVKmehrResponseWithTimeStampInfo(be.fgov.ehealth.chap4.protocol.v1.ConsultChap4MedicalAdvisorAgreementResponse)
public static org.bouncycastle.tsp.TimeStampResponse getTimestampResponse(byte[] tsTokenResponse) throws TechnicalConnectorException
TechnicalConnectorException
public UnsealedResponseWrapper<?> getUnsealedResponse(byte[] unsealedSecuredContent, ConversationType type)
unsealedSecuredContent
- public byte[] getSecuredContent(Chap4MedicalAdvisorAgreementResponseWrapper<?> agreementResponse) throws ChapterIVBusinessConnectorException
agreementResponse
- ChapterIVBusinessConnectorException
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.