Class GenericCryptoServiceFactory
java.lang.Object
org.apache.accumulo.core.spi.crypto.GenericCryptoServiceFactory
- All Implemented Interfaces:
CryptoServiceFactory
Factory that will load a crypto service configured, first checking
GENERAL_SERVICE_NAME_PROP
and then TABLE_SERVICE_NAME_PROP
. Useful for general
purpose on disk encryption, with no Table context.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetService
(CryptoEnvironment environment, Map<String, String> properties) Return the appropriate CryptoService.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.accumulo.core.spi.crypto.CryptoServiceFactory
newCryptoService
-
Field Details
-
GENERAL_SERVICE_NAME_PROP
-
TABLE_SERVICE_NAME_PROP
-
-
Constructor Details
-
GenericCryptoServiceFactory
public GenericCryptoServiceFactory()
-
-
Method Details
-
getService
Description copied from interface:CryptoServiceFactory
Return the appropriate CryptoService.- Specified by:
getService
in interfaceCryptoServiceFactory
- Parameters:
environment
- CryptoEnvironment containing a variety of informationproperties
- configuration- Returns:
- CryptoService based on the environment and configuration
-