Class KgssServiceImpl

  • All Implemented Interfaces:
    KgssService

    public class KgssServiceImpl
    extends Object
    implements KgssService
    The Class EncryptionKeyServiceImpl.
    • Method Detail

      • retrieveKeyFromKgss

        public be.ehealth.technicalconnector.service.kgss.domain.KeyResult retrieveKeyFromKgss​(byte[] keyId,
                                                                                               byte[] myEtk,
                                                                                               byte[] kgssEtk)
                                                                                        throws IntegrationModuleException
        Override.
        Specified by:
        retrieveKeyFromKgss in interface KgssService
        Parameters:
        keyId - the key id
        myEtk - the my etk
        kgssEtk - 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 IntegrationModuleException
        Override.
        Specified by:
        retrieveNewKey in interface KgssService
        Parameters:
        etkKgss - the etk kgss
        credentialTypes - the credential types
        prescriberId - the prescriber id
        executorId - the executor id
        patientId - the patient id
        myEtk - the my etk
        Returns:
        the key result
        Throws:
        IntegrationModuleException - the integration module exception