| Package | Description |
|---|---|
| de.schlichtherle.truezip.key |
Provides an extensible manager for generic keys required to
create or open protected resources.
|
| de.schlichtherle.truezip.key.pbe.swing |
The console I/O based implementation of the interface
PromptingKeyProvider.View. |
| Modifier and Type | Class and Description |
|---|---|
class |
CacheableUnknownKeyException
Thrown to indicate that the retrieval of the key to open or create a
protected resource has failed and that this exception is cacheable.
|
class |
KeyPromptingCancelledException
Thrown to indicate that the retrieval of the key to open or create a
protected resource has been cancelled.
|
class |
KeyPromptingDisabledException
Thrown to indicate that the retrieval of the key to open or create a
protected resource has been disabled.
|
class |
KeyPromptingInterruptedException
Thrown to indicate that prompting for a key to open or create a
protected resource has been interrupted.
|
class |
KeyPromptingTimeoutException
Thrown to indicate that prompting for a key to open or create a
protected resource has timed out.
|
| Modifier and Type | Method and Description |
|---|---|
private K |
SafeKeyProvider.getNonNullKey() |
K |
SafeKeyProvider.getReadKey(boolean invalid)
Returns the secret key for reading a protected resource.
|
K |
KeyProvider.getReadKey(boolean invalid)
Returns the secret key for reading a protected resource.
|
K |
SafeKeyProvider.getWriteKey()
Returns the secret key for writing a protected resource.
|
K |
KeyProvider.getWriteKey()
Returns the secret key for writing a protected resource.
|
void |
PromptingKeyProvider.View.promptReadKey(PromptingKeyProvider.Controller<K> controller,
boolean invalid)
Prompts the user for the key for reading the contents of an
existing protected resource.
|
void |
PromptingKeyProvider.View.promptWriteKey(PromptingKeyProvider.Controller<K> controller)
Prompts the user for the key for (over)writing the contents of a
new or existing protected resource.
|
protected abstract void |
SafeKeyProvider.retrieveReadKey(boolean invalid)
Retrieves the secret key for the decryption of a protected resource.
|
protected void |
PromptingKeyProvider.retrieveReadKey(boolean invalid) |
(package private) abstract <K extends SafeKey<K>> |
PromptingKeyProvider.State.retrieveReadKey(PromptingKeyProvider<K> provider,
boolean invalid) |
protected abstract void |
SafeKeyProvider.retrieveWriteKey()
Retrieves the secret key for the encryption of a protected resource.
|
protected void |
PromptingKeyProvider.retrieveWriteKey() |
(package private) abstract <K extends SafeKey<K>> |
PromptingKeyProvider.State.retrieveWriteKey(PromptingKeyProvider<K> provider) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
SwingSafePbeParametersView.multiplexOnEDT(Runnable task)
Invokes the given
task on the AWT Event Dispatching Thread
(EDT) and waits until it's finished. |
void |
SwingSafePbeParametersView.promptReadKey(PromptingKeyProvider.Controller<P> controller,
boolean invalid) |
void |
SwingSafePbeParametersView.promptWriteKey(PromptingKeyProvider.Controller<P> controller) |
Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.