public class TrustStoreCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
A trusted certificate KeyStore may be used to determine whether a given certificate chain can be trusted.
| Modifier and Type | Field and Description |
|---|---|
private java.security.KeyStore |
trustStore |
| Constructor and Description |
|---|
TrustStoreCallback()
Create a new TrustStoreCallback.
|
| Modifier and Type | Method and Description |
|---|---|
java.security.KeyStore |
getTrustStore()
Get the requested trusted certificate KeyStore.
|
void |
setTrustStore(java.security.KeyStore trustStore)
Set the trusted certificate KeyStore.
|
public java.security.KeyStore getTrustStore()
public void setTrustStore(java.security.KeyStore trustStore)
trustStore - the trusted certificate KeyStore, which
must already be loaded.