| Package | Description |
|---|---|
| de.schlichtherle.truezip.crypto.raes.param.swing |
The console I/O based implementation of the interface
PromptingKeyProvider.View. |
| de.schlichtherle.truezip.key |
Provides an extensible manager for generic keys required to
create or open protected resources.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
AesCipherParametersView.multiplexOnEDT(Runnable task)
Invokes the given
task on the AWT Event Dispatching Thread
(EDT) and waits until it's finished. |
void |
AesCipherParametersView.promptReadKey(PromptingKeyProvider.Controller<AesCipherParameters> controller,
boolean invalid) |
void |
AesCipherParametersView.promptWriteKey(PromptingKeyProvider.Controller<AesCipherParameters> controller) |
| Modifier and Type | Class and Description |
|---|---|
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)
Retrieves the secret key for the decryption of a protected resource.
|
K |
KeyProvider.getReadKey(boolean invalid)
Retrieves the secret key for the decryption of a protected resource.
|
K |
SafeKeyProvider.getWriteKey()
Retrieves the secret key for the encryption of a protected resource.
|
K |
KeyProvider.getWriteKey()
Retrieves the secret key for the encryption of 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) |
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.