Class TrustStoreCallback
java.lang.Object
jakarta.security.auth.message.callback.TrustStoreCallback
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUsed 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.
-
Constructor Details
-
TrustStoreCallback
public TrustStoreCallback()
-
-
Method Details
-
setTrustStore
Used by the CallbackHandler to set the trusted certificate keystore within the Callback.- Parameters:
trustStore
- The trusted certificate KeyStore, which must already be loaded.
-
getTrustStore
Used by the TrustStore user to obtain the TrustStore set within the Callback.- Returns:
- The trusted certificate KeyStore. The KeyStore is guaranteed to already be loaded.
-