Class KgssServiceImpl
- java.lang.Object
-
- be.business.connector.core.ehealth.services.KgssServiceImpl
-
- All Implemented Interfaces:
KgssService
public class KgssServiceImpl extends Object implements KgssService
The Class EncryptionKeyServiceImpl.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()static KgssServicegetInstance()Gets the singleton instance of KeyDepotServiceImpl.be.ehealth.technicalconnector.service.kgss.domain.KeyResultretrieveKeyFromKgss(byte[] keyId, byte[] myEtk, byte[] kgssEtk)Override.be.ehealth.technicalconnector.service.kgss.domain.KeyResultretrieveNewKey(byte[] etkKgss, List<String> credentialTypes, String prescriberId, String executorId, String patientId, byte[] myEtk)Override.
-
-
-
Method Detail
-
getInstance
public static KgssService getInstance() throws IntegrationModuleException
Gets the singleton instance of KeyDepotServiceImpl.- Returns:
- singleton instance of KeyDepotServiceImpl
- Throws:
IntegrationModuleException- the integration module exception
-
retrieveKeyFromKgss
public be.ehealth.technicalconnector.service.kgss.domain.KeyResult retrieveKeyFromKgss(byte[] keyId, byte[] myEtk, byte[] kgssEtk) throws IntegrationModuleExceptionOverride.- Specified by:
retrieveKeyFromKgssin interfaceKgssService- Parameters:
keyId- the key idmyEtk- the my etkkgssEtk- the kgss etk- Returns:
- the key result
- Throws:
IntegrationModuleException- the integration module exception
-
retrieveNewKey
public be.ehealth.technicalconnector.service.kgss.domain.KeyResult retrieveNewKey(byte[] etkKgss, List<String> credentialTypes, String prescriberId, String executorId, String patientId, byte[] myEtk) throws IntegrationModuleExceptionOverride.- Specified by:
retrieveNewKeyin interfaceKgssService- Parameters:
etkKgss- the etk kgsscredentialTypes- the credential typesprescriberId- the prescriber idexecutorId- the executor idpatientId- the patient idmyEtk- the my etk- Returns:
- the key result
- Throws:
IntegrationModuleException- the integration module exception
-
clear
public void clear()
- Specified by:
clearin interfaceKgssService
-
-