Interface KgssService
-
- All Known Implementing Classes:
KgssServiceImpl
public interface KgssServiceThe Interface EncryptionKeyService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()be.ehealth.technicalconnector.service.kgss.domain.KeyResultretrieveKeyFromKgss(byte[] keyId, byte[] myEtk, byte[] kgssEtk)Retrieve key from kgss.be.ehealth.technicalconnector.service.kgss.domain.KeyResultretrieveNewKey(byte[] etkKgss, List<String> credentialTypes, String prescriberId, String executorId, String patientId, byte[] myEtk)Retrieve new key.
-
-
-
Method Detail
-
retrieveKeyFromKgss
be.ehealth.technicalconnector.service.kgss.domain.KeyResult retrieveKeyFromKgss(byte[] keyId, byte[] myEtk, byte[] kgssEtk) throws IntegrationModuleExceptionRetrieve key from kgss.- Parameters:
keyId- the key idmyEtk- the Pharmacy etkkgssEtk- the KGSS etk- Returns:
- the key result
- Throws:
IntegrationModuleException- the integration module exception
-
retrieveNewKey
be.ehealth.technicalconnector.service.kgss.domain.KeyResult retrieveNewKey(byte[] etkKgss, List<String> credentialTypes, String prescriberId, String executorId, String patientId, byte[] myEtk) throws IntegrationModuleExceptionRetrieve new key.- Parameters:
etkKgss- the etk kgsscredentialTypes- the credential typesprescriberId- the prescriber idexecutorId- the executor idpatientId- the patient idmyEtk- the my etk- Returns:
- the byte[] key
- Throws:
IntegrationModuleException
-
clear
void clear()
-
-