com.jp.protection.pub
Class JarFileSecretStorage.Provider
java.lang.Object
com.jp.protection.pub.FileSecretStorage.Provider
com.jp.protection.pub.JarFileSecretStorage.Provider
- All Implemented Interfaces:
- SecretStorage.Provider, java.io.Serializable, java.lang.Cloneable
- Enclosing class:
- JarFileSecretStorage
public static class JarFileSecretStorage.Provider
- extends FileSecretStorage.Provider
- See Also:
- Serialized Form
|
Constructor Summary |
JarFileSecretStorage.Provider()
|
JarFileSecretStorage.Provider(java.lang.String aFolder,
java.lang.String aFileName,
boolean aUserHomeRelative,
boolean aUseStrongEncryption,
boolean aUseLockFile,
java.lang.String anEntryName)
Creates a new instance of Provider and initializes it |
| Methods inherited from class com.jp.protection.pub.FileSecretStorage.Provider |
clone, equals, getFileName, getFolder, isUseLockFile, isUserHomeRelative, isUseStrongEncryption, setFileName, setFolder, setUseLockFile, setUserHomeRelative, setUseStrongEncryption |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
fEntryName
protected java.lang.String fEntryName
JarFileSecretStorage.Provider
public JarFileSecretStorage.Provider()
JarFileSecretStorage.Provider
public JarFileSecretStorage.Provider(java.lang.String aFolder,
java.lang.String aFileName,
boolean aUserHomeRelative,
boolean aUseStrongEncryption,
boolean aUseLockFile,
java.lang.String anEntryName)
- Creates a new instance of Provider and initializes it
- Parameters:
aFolder - folder to locate secret storage fileaFileName - a name of secret storage fileaUserHomeRelative - specifies whether a folder is user HOME folder relativeaUseStrongEncryption - specifies whether strong encryption should be usedaUseLockFile - specifies whether lock file (.lck) should be used to prevent concurrent modifications of the
Secret StorageanEntryName - name of an entry to persists the Secret Storage to
getInstantiationStr
public java.lang.String getInstantiationStr()
- Specified by:
getInstantiationStr in interface SecretStorage.Provider- Overrides:
getInstantiationStr in class FileSecretStorage.Provider
toString
public java.lang.String toString()
- Overrides:
toString in class FileSecretStorage.Provider
create
public SecretStorage create()
- Creates a new instance of FileSecretStorage and initializes it using properties of Provider
- Specified by:
create in interface SecretStorage.Provider- Overrides:
create in class FileSecretStorage.Provider
- Returns:
- a new instance of FileSecretStorage
getType
public java.lang.String getType()
- Specified by:
getType in interface SecretStorage.Provider- Overrides:
getType in class FileSecretStorage.Provider
getEntryName
public java.lang.String getEntryName()
setEntryName
public void setEntryName(java.lang.String aEntryName)