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.0
-
Method Summary
Modifier and TypeMethodDescriptiongetService(CryptoEnvironment environment, Map<String, String> properties) Return the appropriate CryptoService.default CryptoServicenewCryptoService(String cryptoServiceName) Loads a crypto service based on the name provided.
-
Method Details
-
getService
Return the appropriate CryptoService.- Parameters:
environment- CryptoEnvironment containing a variety of informationproperties- configuration- Returns:
- CryptoService based on the environment and configuration
-
newCryptoService
Loads a crypto service based on the name provided.
-