Package | Description |
---|---|
net.java.truecommons.key.spec |
Provides an extensible manager for generic keys required for writing or
reading protected resources, for example encrypted files.
|
net.java.truecommons.key.spec.prompting |
Provides a key manager which promps users for
keys.
|
Modifier and Type | Class and Description |
---|---|
class |
PersistentUnknownKeyException
Thrown to indicate that the retrieval of the key to (over)write or read a
protected resource has failed and that this exception is cacheable.
|
Modifier and Type | Method and Description |
---|---|
K |
KeyProvider.getKeyForReading(boolean invalid)
Returns the key for reading a protected resource.
|
K |
KeyProvider.getKeyForWriting()
Returns the key for (over)writing a protected resource.
|
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 |
---|---|
K |
PromptingKeyProvider.getKeyForReading(boolean invalid) |
K |
PromptingKeyProvider.getKeyForWriting() |
void |
PromptingKey.View.promptKeyForReading(PromptingKey.Controller<K> controller,
boolean invalid)
Prompts the user for the key for reading the contents of an
existing protected resource.
|
void |
PromptingKey.View.promptKeyForWriting(PromptingKey.Controller<K> controller)
Prompts the user for the key for (over)writing the contents of a
new or existing protected resource.
|
Copyright © 2012–2018 Schlichtherle IT Services. All rights reserved.