public interface CryptoService
FileEncrypter
for encryption
and a FileDecrypter
for decryption.Modifier and Type | Interface and Description |
---|---|
static class |
CryptoService.CryptoException
Runtime Crypto exception
|
Modifier and Type | Method and Description |
---|---|
FileDecrypter |
getFileDecrypter(CryptoEnvironment environment)
Initialize the FileDecrypter for the environment and return.
|
FileEncrypter |
getFileEncrypter(CryptoEnvironment environment)
Initialize the FileEncrypter for the environment and return.
|
void |
init(Map<String,String> conf)
Initialize CryptoService.
|
void init(Map<String,String> conf) throws CryptoService.CryptoException
CryptoService.CryptoException
FileEncrypter getFileEncrypter(CryptoEnvironment environment)
FileDecrypter getFileDecrypter(CryptoEnvironment environment)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.