Class AESCryptoService
- java.lang.Object
-
- org.apache.accumulo.core.cryptoImpl.AESCryptoService
-
- All Implemented Interfaces:
CryptoService
public class AESCryptoService extends Object implements CryptoService
Example implementation of AES encryption for Accumulo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classAESCryptoService.AESCBCCryptoModuleclassAESCryptoService.AESGCMCryptoModule-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.spi.crypto.CryptoService
CryptoService.CryptoException
-
-
Constructor Summary
Constructors Constructor Description AESCryptoService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileDecryptergetFileDecrypter(CryptoEnvironment environment)Initialize the FileDecrypter for the environment and return.FileEncryptergetFileEncrypter(CryptoEnvironment environment)Initialize the FileEncrypter for the environment and return.voidinit(Map<String,String> conf)Initialize CryptoService.
-
-
-
Method Detail
-
init
public void init(Map<String,String> conf) throws CryptoService.CryptoException
Description copied from interface:CryptoServiceInitialize CryptoService. This is called once at Tablet Server startup.- Specified by:
initin interfaceCryptoService- Throws:
CryptoService.CryptoException
-
getFileEncrypter
public FileEncrypter getFileEncrypter(CryptoEnvironment environment)
Description copied from interface:CryptoServiceInitialize 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:
getFileEncrypterin interfaceCryptoService
-
getFileDecrypter
public FileDecrypter getFileDecrypter(CryptoEnvironment environment)
Description copied from interface:CryptoServiceInitialize 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:
getFileDecrypterin interfaceCryptoService
-
-