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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CryptoService
getService(CryptoEnvironment environment, Map<String,String> properties)
Return the appropriate CryptoService.default CryptoService
newCryptoService(String cryptoServiceName)
Loads a crypto service based on the name provided.
-
-
-
Method Detail
-
getService
CryptoService getService(CryptoEnvironment environment, Map<String,String> properties)
Return the appropriate CryptoService.- Parameters:
environment
- CryptoEnvironment containing a variety of informationproperties
- configuration- Returns:
- CryptoService based on the environment and configuration
-
newCryptoService
default CryptoService newCryptoService(String cryptoServiceName)
Loads a crypto service based on the name provided.
-
-