|
TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ZipRaesDriver.KeyProviderSyncStrategy>
de.schlichtherle.truezip.fs.archive.zip.raes.ZipRaesDriver.KeyProviderSyncStrategy
public static enum ZipRaesDriver.KeyProviderSyncStrategy
Defines strategies for updating a key provider once a RAES encrypted ZIP file has been successfully synchronized.
| Enum Constant Summary | |
|---|---|
RESET_CANCELLED_KEY
Calls PromptingKeyProvider.resetCancelledKey()
if and only if the given provider is a PromptingKeyProvider. |
|
RESET_UNCONDITIONALLY
Calls PromptingKeyProvider.resetUnconditionally()
if and only if the given provider is a PromptingKeyProvider. |
|
| Method Summary | |
|---|---|
abstract void |
sync(KeyProvider<?> provider)
This method is called upon a call to KeyManagerArchiveController.sync(de.schlichtherle.truezip.util.BitField after a successful
synchronization of a RAES encrypted ZIP file. |
static ZipRaesDriver.KeyProviderSyncStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ZipRaesDriver.KeyProviderSyncStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ZipRaesDriver.KeyProviderSyncStrategy RESET_CANCELLED_KEY
PromptingKeyProvider.resetCancelledKey()
if and only if the given provider is a PromptingKeyProvider.
public static final ZipRaesDriver.KeyProviderSyncStrategy RESET_UNCONDITIONALLY
PromptingKeyProvider.resetUnconditionally()
if and only if the given provider is a PromptingKeyProvider.
| Method Detail |
|---|
public static ZipRaesDriver.KeyProviderSyncStrategy[] values()
for (ZipRaesDriver.KeyProviderSyncStrategy c : ZipRaesDriver.KeyProviderSyncStrategy.values()) System.out.println(c);
public static ZipRaesDriver.KeyProviderSyncStrategy valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic abstract void sync(KeyProvider<?> provider)
KeyManagerArchiveController.sync(de.schlichtherle.truezip.util.BitField, de.schlichtherle.truezip.util.ExceptionHandler super de.schlichtherle.truezip.fs.FsSyncException, X>) after a successful
synchronization of a RAES encrypted ZIP file.
provider - the key provider for the RAES encrypted ZIP file
which has been successfully synchronized.
|
TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||