Interface CryptoServiceFactory

All Known Implementing Classes:
GenericCryptoServiceFactory, NoCryptoServiceFactory, PerTableCryptoServiceFactory

public interface CryptoServiceFactory
A Factory that returns a CryptoService based on the environment and configuration.
Since:
2.1
  • Method Details

    • getService

      CryptoService getService(CryptoEnvironment environment, Map<String,String> properties)
      Return the appropriate CryptoService.
      Parameters:
      environment - CryptoEnvironment containing a variety of information
      properties - configuration
      Returns:
      CryptoService based on the environment and configuration
    • newCryptoService

      default CryptoService newCryptoService(String cryptoServiceName)
      Loads a crypto service based on the name provided.