Class TrustStoreCallback
java.lang.Object
jakarta.security.auth.message.callback.TrustStoreCallback
- All Implemented Interfaces:
Callback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the trust store.voidsetTrustStore(KeyStore trustStore) Sets the trust store to be used for certificate validation.
-
Constructor Details
-
TrustStoreCallback
public TrustStoreCallback()Constructs a new TrustStoreCallback.
-
-
Method Details
-
setTrustStore
Sets the trust store to be used for certificate validation.- Parameters:
trustStore- The trust store containing trusted certificates
-
getTrustStore
Returns the trust store.- Returns:
- The trust store, or
nullif not set
-