|
jboss-sasl 1.0.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.sasl.callback.PublicKeyCallback
public final class PublicKeyCallback
Callback to retrieve or provide a public key during authentication.
| Constructor Summary | |
|---|---|
PublicKeyCallback(String prompt,
PublicKey publicKey,
String[] algorithmNames)
Construct a new instance. |
|
PublicKeyCallback(String prompt,
String[] algorithmNames)
Construct a new instance. |
|
| Method Summary | |
|---|---|
boolean |
allows(String name)
Convenience method to determine whether an algorithm name is allowed. |
String[] |
getAlgorithmNames()
Get the acceptable algorithm names. |
String |
getPrompt()
Get the prompt string. |
PublicKey |
getPublicKey()
Get the public key. |
void |
setPublicKey(PublicKey publicKey)
Set the public key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PublicKeyCallback(String prompt,
String[] algorithmNames)
prompt - the prompt stringalgorithmNames - the algorithm names to accept
public PublicKeyCallback(String prompt,
PublicKey publicKey,
String[] algorithmNames)
prompt - the prompt stringpublicKey - the public key valuealgorithmNames - the algorithm names to accept| Method Detail |
|---|
public String getPrompt()
public PublicKey getPublicKey()
public void setPublicKey(PublicKey publicKey)
publicKey - the public keypublic String[] getAlgorithmNames()
public boolean allows(String name)
name - the algorithm name
true if the algorithm is allowed
|
jboss-sasl 1.0.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||