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