public class PublicKeyCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
| Constructor and Description |
|---|
PublicKeyCallback(java.security.PublicKey publicKey) |
| Modifier and Type | Method and Description |
|---|---|
java.security.PublicKey |
getPublicKey() |
boolean |
isVerified() |
void |
setPublicKey(java.security.PublicKey publicKey) |
void |
setVerified(boolean b) |
boolean |
verifyTrust(java.security.KeyStore keyStore)
Evaluate whether a given public key should be trusted.
|
public void setPublicKey(java.security.PublicKey publicKey)
public java.security.PublicKey getPublicKey()
public void setVerified(boolean b)
public boolean isVerified()
public boolean verifyTrust(java.security.KeyStore keyStore)
throws WSSecurityException
WSSecurityExceptionCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.