be.ehealth.technicalconnector.service.seals.impl
Class SealsServiceImpl
java.lang.Object
be.ehealth.technicalconnector.service.seals.impl.SealsServiceImpl
- All Implemented Interfaces:
- SealsService
public class SealsServiceImpl
- extends Object
- implements SealsService
Implementation for SealsService
.
SealsServiceImpl
public SealsServiceImpl(EhealthReplyValidator validator)
- Parameters:
validator
-
encode
public EncodeResponse encode(X509Certificate certificate,
PrivateKey privateKey,
EncodeRequest encodeRequest)
throws TechnicalConnectorException
- Description copied from interface:
SealsService
- The encode operation allows the coding/anonymization of data.
- Specified by:
encode
in interface SealsService
- 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.encodeRequest
- Request data structure for the encode operation.
- Returns:
- Response message for the encode operation. Besides the ticket number and application name, this response can either contain:
- A valid response: type ChoiceEncodedDataErrorType - or a global error when the processing failed completely
- Throws:
TechnicalConnectorException
- When a technical exception occurs- See Also:
SealsService.encode(java.security.cert.X509Certificate, java.security.PrivateKey,
be.fgov.ehealth.seals.protocol.v1.EncodeRequest)
decode
public DecodeResponse decode(X509Certificate certificate,
PrivateKey privateKey,
DecodeRequest decodeRequest)
throws TechnicalConnectorException
- Description copied from interface:
SealsService
- The decode operation provides the inverse function of the encode operation
- Specified by:
decode
in interface SealsService
- 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.decodeRequest
- Request data structure for the decode operation.
- Returns:
- Response message for the decode operation. Besides the ticket number and application name, this response can either contain:
- A valid response: type ChoiceDecodedDataErrorType - or a global error when the processing failed completely.
- Throws:
TechnicalConnectorException
- When a technical exception occurs- See Also:
SealsService.decode(java.security.cert.X509Certificate, java.security.PrivateKey,
be.fgov.ehealth.seals.protocol.v1.DecodeRequest)
Connector Packaging PERSPHYSICIAN 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.