public static class GAMBASKeyStore.AsyncKeyCreation
extends java.lang.Object
GAMBASKeyStore.createManualKey(CharSequence key)
method asynchronously and allows to receive the results.Constructor and Description |
---|
GAMBASKeyStore.AsyncKeyCreation(java.lang.CharSequence key)
Create a new
GAMBASKeyStore.AsyncKeyCreation with the given key. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResult()
Get the result of the key creation.
|
java.lang.String |
waitAndGetResult()
Wait for the key creation to finish, then:
Get the result of the key creation.
|
void |
waitFor()
Wait for the key creation to finish.
|
public GAMBASKeyStore.AsyncKeyCreation(java.lang.CharSequence key)
GAMBASKeyStore.AsyncKeyCreation
with the given key.key
- The key that should be used to generate a key from.public void waitFor()
public java.lang.String getResult()
GAMBASKeyStore.createManualKey(CharSequence)
public java.lang.String waitAndGetResult()
GAMBASKeyStore.createManualKey(CharSequence)