Interface KgssService

  • All Known Implementing Classes:
    KgssServiceImpl

    public interface KgssService
    The Interface EncryptionKeyService.
    • Method Detail

      • retrieveKeyFromKgss

        be.ehealth.technicalconnector.service.kgss.domain.KeyResult retrieveKeyFromKgss​(byte[] keyId,
                                                                                        byte[] myEtk,
                                                                                        byte[] kgssEtk)
                                                                                 throws IntegrationModuleException
        Retrieve key from kgss.
        Parameters:
        keyId - the key id
        myEtk - the Pharmacy etk
        kgssEtk - 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 IntegrationModuleException
        Retrieve new key.
        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 byte[] key
        Throws:
        IntegrationModuleException
      • clear

        void clear()