be.ehealth.technicalconnector.service.timestamp.impl
Class ConsultServiceImpl
java.lang.Object
be.ehealth.technicalconnector.service.timestamp.impl.AbstractConsultationServiceImpl<TSConsultTSBagRequest,TSConsultTSBagResponse,TSConsultRequest,TSConsultResponse>
be.ehealth.technicalconnector.service.timestamp.impl.ConsultServiceImpl
- All Implemented Interfaces:
- ConsultService
public class ConsultServiceImpl
- extends AbstractConsultationServiceImpl<TSConsultTSBagRequest,TSConsultTSBagResponse,TSConsultRequest,TSConsultResponse>
- implements ConsultService
Implementation of ConsultService
ConsultServiceImpl
public ConsultServiceImpl()
getTimestamp
public TSConsultTSBagResponse getTimestamp(X509Certificate certificate,
PrivateKey privateKey,
TSConsultTSBagRequest consultRequest)
throws TechnicalConnectorException
- Description copied from interface:
ConsultService
- Retrieves an actual time stamp from the eHealth-platform Archive, based on a unique sequence number and a time.
- Specified by:
getTimestamp
in interface ConsultService
- Parameters:
certificate
- X.509 certificate, that includes the public key, of the organization invoking this service. This certificate is
used for applying the required web service security policy. Eventually it is used for authentication and authorization
purposes by the eHealth-platform.privateKey
- Private key, linked to the X.509 certificate mentioned above.consultRequest
- Request message for the Get Time Stamp operation.
- Returns:
- the timestamp Response from the Get Time Stamp operation. The data about the referenced Timestamp Bag is returned
- Throws:
TechnicalConnectorException
- the technical connector exception
checkCompleteness
public TSConsultResponse checkCompleteness(X509Certificate certificate,
PrivateKey privateKey,
TSConsultRequest consultRequest)
throws TechnicalConnectorException
- Description copied from interface:
ConsultService
- Retrieves the list of missing time stamps, provided is a time period and list of time stamps (id and times).
- Specified by:
checkCompleteness
in interface ConsultService
- Parameters:
certificate
- X.509 certificate, that includes the public key, of the organization invoking this service. This certificate is
used for applying the required web service security policy. Eventually it is used for authentication and authorization
purposes by the eHealth-platform.privateKey
- Private key, linked to the X.509 certificate mentioned above.consultRequest
- Request message for the Check Completeness operation.
- Returns:
- the TS consult response Response message for the Check Completeness operation.
- Throws:
TechnicalConnectorException
- the technical connector exception
Connector Business ORGPHARMACY 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.