public class XORBinaryManager extends LocalBinaryManager
The BinaryManagerDescriptor
holds a key that can be used to drive the
scrambling/unscrambling.
This is to prevent casual reading of the files, but of course the algorithm and key for scrambling are available on the system as well, so this not a secure store.
Modifier and Type | Class and Description |
---|---|
static class |
XORBinaryManager.XORBinaryScrambler
A
BinaryScrambler that does an XOR with the given pattern. |
LocalBinaryManager.DefaultBinaryGarbageCollector
AbstractBinaryManager.NullBinaryScrambler, AbstractBinaryManager.ScrambledBinary, AbstractBinaryManager.ScrambledFileInputStream, AbstractBinaryManager.ScrambledStreamSource
CONFIG_FILE, DATA, DEFAULT_PATH, TMP
DEFAULT_DEPTH, DEFAULT_DIGEST, MAX_BUF_SIZE, MIN_BUF_SIZE
Constructor and Description |
---|
XORBinaryManager() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(BinaryManagerDescriptor binaryManagerDescriptor)
Initializer.
|
close, getBinary, getBinary, getFileForDigest, getStorageDir, touch
getGarbageCollector, toHexString
public void initialize(BinaryManagerDescriptor binaryManagerDescriptor) throws IOException
BinaryManager
initialize
in interface BinaryManager
initialize
in class LocalBinaryManager
IOException
Copyright © 2014 Nuxeo SA. All rights reserved.