Class CertStoreCallback
java.lang.Object
jakarta.security.auth.message.callback.CertStoreCallback
- All Implemented Interfaces:
Callback
Callback for CertStore.
A CertStore is a generic repository for certificates. CertStores may be searched to locate public key certificates, as well as to put together certificate chains. Such a search may be necessary when the caller needs to verify a signature.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUsed by the CertStore user to obtain the CertStore set within the Callback.voidsetCertStore(CertStore certStore) Used by the CallbackHandler to set the CertStore within the Callback.
-
Constructor Details
-
CertStoreCallback
public CertStoreCallback()
-
-
Method Details
-
setCertStore
Used by the CallbackHandler to set the CertStore within the Callback.- Parameters:
certStore- The certificate store, which may be null
-
getCertStore
Used by the CertStore user to obtain the CertStore set within the Callback.- Returns:
- The CertStore, or null.
-