# Uses of Interface
be.ehealth.technicalconnector.service.etee.Crypto

Packages that use Crypto
Package
Description
be.ehealth.business.mycarenetcommons.security
be.ehealth.businessconnector.mycarenet.memberdatacommons.security
be.ehealth.technicalconnector.service.etee
be.ehealth.technicalconnector.service.etee.impl
be.ehealth.technicalconnector.session
be.ehealth.technicalconnector.session.impl
be.ehealth.technicalconnector.utils

- ## Uses of Crypto in be.ehealth.business.mycarenetcommons.security

  Methods in be.ehealth.business.mycarenetcommons.security with parameters of type Crypto
  Modifier and Type
  Method
  Description
  `byte[]`
  EncryptionHelper.`encrypt(byte[] request, Crypto crypto, String projectIdentifier)`

- ## Uses of Crypto in be.ehealth.businessconnector.mycarenet.memberdatacommons.security

  Methods in be.ehealth.businessconnector.mycarenet.memberdatacommons.security with parameters of type Crypto
  Modifier and Type
  Method
  Description
  `byte[]`
  MemberDataEncryptionUtil.`handleEncryption(X request, Crypto crypto, String projectIdentifier)`

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

  Methods in be.ehealth.technicalconnector.service.etee that return Crypto
  Modifier and Type
  Method
  Description
  `static Crypto`
  CryptoFactory.`getCrypto(Credential encryption, Map<String,PrivateKey> decryptionKeys)`
  `static Crypto`
  CryptoFactory.`getCrypto(Credential encryption, Map<String,PrivateKey> decryptionKeys, String oCSPPolicy)`
  Possible values of the OCSPPolicy parameter:
  `static Crypto`
  CryptoFactory.`getCryptoFromSession()`

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

  Classes in be.ehealth.technicalconnector.service.etee.impl that implement Crypto
  Modifier and Type
  Class
  Description
  `class`
  `AbstractEndToEndCrypto`
  Abstract class that extracts all the utility methods
  `class`
  `CryptoImpl`
  Implementation for `Crypto`.

- ## Uses of Crypto in be.ehealth.technicalconnector.session

  Methods in be.ehealth.technicalconnector.session that return Crypto
  Modifier and Type
  Method
  Description
  `Crypto`
  SessionItem.`getEncryptionCrypto()`
  Gets the crypto associated with the Encryption credentials
  `Crypto`
  SessionItem.`getHolderOfKeyCrypto()`
  Gets the crypto associated with the HOK credentials
  Methods in be.ehealth.technicalconnector.session with parameters of type Crypto
  Modifier and Type
  Method
  Description
  `<T> T`
  ImplementationClassFactory.`createImplementationClass(Class<T> clazz, SessionValidator sessionValidator, EhealthReplyValidator replyValidator, Crypto hokCrypto, Crypto encryptionCrypto, String... additionalParameters)`
  Deprecated.
  use the other createImplementationClass method without crypto

- ## Uses of Crypto in be.ehealth.technicalconnector.session.impl

  Methods in be.ehealth.technicalconnector.session.impl that return Crypto
  Modifier and Type
  Method
  Description
  `Crypto`
  SessionItemImpl.`getEncryptionCrypto()`
  `Crypto`
  SessionItemImpl.`getHolderOfKeyCrypto()`

- ## Uses of Crypto in be.ehealth.technicalconnector.utils

  Methods in be.ehealth.technicalconnector.utils that return Crypto
  Modifier and Type
  Method
  Description
  `static Crypto`
  SessionUtil.`getCrypto(CryptoType type, Crypto defaultCrypto)`
  `static Crypto`
  SessionUtil.`getEncryptionCrypto()`
  validates if the session and the encryption crypto is present, and returns the encryption Crypto.
  `static Crypto`
  SessionUtil.`getHolderOfKeyCrypto()`
  validates if the session and the 'holder of key' crypto is present, and returns the 'holder of key' Crypto.
  Methods in be.ehealth.technicalconnector.utils with parameters of type Crypto
  Modifier and Type
  Method
  Description
  `static Crypto`
  SessionUtil.`getCrypto(CryptoType type, Crypto defaultCrypto)`