public class XORBinaryManager extends DefaultBinaryManager
The RepositoryDescriptor 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. |
DefaultBinaryManager.DefaultBinaryGarbageCollector, DefaultBinaryManager.NullBinaryScrambler, DefaultBinaryManager.ScrambledBinary, DefaultBinaryManager.ScrambledFileInputStream, DefaultBinaryManager.ScrambledStreamSourceCONFIG_FILE, DATA, DEFAULT_DEPTH, DEFAULT_DIGEST, DEFAULT_PATH, MAX_BUF_SIZE, MIN_BUF_SIZE, TMP| Constructor and Description |
|---|
XORBinaryManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(RepositoryDescriptor repositoryDescriptor)
Initializer.
|
getBinary, getBinary, getFileForDigest, getGarbageCollector, getStorageDir, toHexString, touchpublic void initialize(RepositoryDescriptor repositoryDescriptor) throws IOException
BinaryManagerinitialize in interface BinaryManagerinitialize in class DefaultBinaryManagerIOExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.