Class NoCryptoService
java.lang.Object
org.apache.accumulo.core.spi.crypto.NoCryptoService
- All Implemented Interfaces:
CryptoService
The default encryption strategy which does nothing.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.accumulo.core.spi.crypto.CryptoService
CryptoService.CryptoException
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFileDecrypter
(CryptoEnvironment environment) Initialize the FileDecrypter for the environment and return.getFileEncrypter
(CryptoEnvironment environment) Initialize the FileEncrypter for the environment and return.void
Initialize CryptoService.
-
Field Details
-
VERSION
- See Also:
-
-
Constructor Details
-
NoCryptoService
public NoCryptoService()
-
-
Method Details
-
init
Description copied from interface:CryptoService
Initialize CryptoService. This should only be called once.- Specified by:
init
in interfaceCryptoService
- Throws:
CryptoService.CryptoException
-
getFileEncrypter
Description copied from interface:CryptoService
Initialize the FileEncrypter for the environment and return. This will get called once per R-File or Write Ahead Log. FileEncrypter implementation must be thread safe.- Specified by:
getFileEncrypter
in interfaceCryptoService
-
getFileDecrypter
Description copied from interface:CryptoService
Initialize the FileDecrypter for the environment and return. This will get called once per R-File or Write Ahead Log. FileDecrypter implementation must be thread safe.- Specified by:
getFileDecrypter
in interfaceCryptoService
-