# Uses of Class
be.ehealth.technicalconnector.service.kgss.domain.KeyResult

Packages that use KeyResult
Package
Description
be.ehealth.technicalconnector.service.etee
be.ehealth.technicalconnector.service.etee.impl
be.ehealth.technicalconnector.service.kgss
be.ehealth.technicalconnector.service.kgss.impl

- ## Uses of KeyResult in be.ehealth.technicalconnector.service.etee

  Methods in be.ehealth.technicalconnector.service.etee with parameters of type KeyResult
  Modifier and Type
  Method
  Description
  `byte[]`
  Crypto.`seal(Crypto.SigningPolicySelector type, KeyResult symmKey, byte[] content)`
  `byte[]`
  Crypto.`seal(Crypto.SigningPolicySelector type, Set<EncryptionToken> paramEncryptionTokenSet, KeyResult symmKey, byte[] content)`
  `UnsealedData`
  Crypto.`unseal(Crypto.SigningPolicySelector type, KeyResult symmKey, byte[] protectedMessage)`

- ## Uses of KeyResult in be.ehealth.technicalconnector.service.etee.impl

  Methods in be.ehealth.technicalconnector.service.etee.impl with parameters of type KeyResult
  Modifier and Type
  Method
  Description
  `byte[]`
  AbstractEndToEndCrypto.`seal(Crypto.SigningPolicySelector type, KeyResult symmKey, byte[] content)`
  `byte[]`
  CryptoImpl.`seal(Crypto.SigningPolicySelector type, Set<EncryptionToken> paramEncryptionTokenSet, KeyResult symmKey, byte[] content)`
  `UnsealedData`
  CryptoImpl.`unseal(Crypto.SigningPolicySelector type, KeyResult symmKey, byte[] protectedMessage)`

- ## Uses of KeyResult in be.ehealth.technicalconnector.service.kgss

  Methods in be.ehealth.technicalconnector.service.kgss that return KeyResult
  Modifier and Type
  Method
  Description
  `KeyResult`
  KgssManager.`get(String keyId, byte[] myEtk)`
  Gets a key from the KeyCache, if the key is not present in the cache it will be retrieved from the KGSS Web Service and added to the KeyCache.
  `KeyResult`
  KgssService.`getKey(GetKeyRequestContent request, byte[] kgssETK, SessionItem session)`
  Gets the key.
  `KeyResult`
  KgssService.`getNewKey(GetNewKeyRequestContent request, byte[] kgssETK)`
  Asks KGSS to generate and store a new key.
  `KeyResult`
  KgssManager.`getNewKeyFromKgss(List<CredentialType> allowedReaders, byte[] myEtk)`
  Retrieves a new key from the KGSS Web Service and returns it.
  `KeyResult`
  KgssManager.`remove(String key)`
  Removes the mapping for a key from this map if it is present (optional operation).

- ## Uses of KeyResult in be.ehealth.technicalconnector.service.kgss.impl

  Methods in be.ehealth.technicalconnector.service.kgss.impl that return KeyResult
  Modifier and Type
  Method
  Description
  `KeyResult`
  KgssServiceImpl.`getKey(GetKeyRequestContent request, byte[] kgssETK, SessionItem session)`
  `KeyResult`
  KgssServiceImpl.`getNewKey(GetNewKeyRequestContent request, byte[] kgssETK)`