public class CryptoFileSystemProperties extends AbstractMap<String,Object>
| Modifier and Type | Class and Description |
|---|---|
static class |
CryptoFileSystemProperties.Builder
Builds
CryptoFileSystemProperties |
static class |
CryptoFileSystemProperties.FileSystemFlags |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_FILESYSTEM_FLAGS
Key identifying the filesystem flags.
|
static String |
PROPERTY_MASTERKEY_FILENAME
Key identifying the name of the masterkey file located inside the vault directory.
|
static String |
PROPERTY_PASSPHRASE
Key identifying the passphrase for an encrypted vault.
|
| Modifier and Type | Method and Description |
|---|---|
static CryptoFileSystemProperties.Builder |
cryptoFileSystemProperties()
Starts construction of
CryptoFileSystemProperties |
static CryptoFileSystemProperties.Builder |
cryptoFileSystemPropertiesFrom(Map<String,?> properties)
Starts construction of
CryptoFileSystemProperties |
Set<Map.Entry<String,Object>> |
entrySet() |
static CryptoFileSystemProperties |
wrap(Map<String,?> properties)
Constructs
CryptoFileSystemProperties from a Map. |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final String PROPERTY_PASSPHRASE
public static final String PROPERTY_MASTERKEY_FILENAME
public static final String PROPERTY_FILESYSTEM_FLAGS
public static CryptoFileSystemProperties.Builder cryptoFileSystemProperties()
CryptoFileSystemPropertiesCryptoFileSystemProperties.Builder which can be used to construct CryptoFileSystemPropertiespublic static CryptoFileSystemProperties.Builder cryptoFileSystemPropertiesFrom(Map<String,?> properties)
CryptoFileSystemPropertiesproperties - a Map containing properties used to initialize the builderCryptoFileSystemProperties.Builder which can be used to construct CryptoFileSystemProperties and has been initialized with the values from propertiespublic static CryptoFileSystemProperties wrap(Map<String,?> properties)
CryptoFileSystemProperties from a Map.properties - the Map to convertMap if already of type CryptoFileSystemProperties or a new CryptoFileSystemProperties instance holding the values from the MapIllegalArgumentException - if a value in the Map does not have the expected type or if a required value is missingCopyright © 2017. All rights reserved.