public class TrustStoreCallback extends Object implements Callback
Callback for trusted certificate KeyStore.
A trusted certificate KeyStore may be used to determine whether a given certificate chain can be trusted.
Constructor and Description |
---|
TrustStoreCallback()
Create a new TrustStoreCallback.
|
Modifier and Type | Method and Description |
---|---|
KeyStore |
getTrustStore()
Used by the TrustStore user to obtain the TrustStore set within the Callback.
|
void |
setTrustStore(KeyStore trustStore)
Used by the CallbackHandler to set the trusted certificate keystore within the Callback.
|
public KeyStore getTrustStore()
Used by the TrustStore user to obtain the TrustStore set within the Callback.
public void setTrustStore(KeyStore trustStore)
Used by the CallbackHandler to set the trusted certificate keystore within the Callback.
trustStore
- The trusted certificate KeyStore, which must already be loaded.Copyright © 2017 JBoss by Red Hat. All rights reserved.