public class CertStoreCallback
extends java.lang.Object
implements javax.security.auth.callback.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.
| Modifier and Type | Field and Description |
|---|---|
private java.security.cert.CertStore |
certStore |
| Constructor and Description |
|---|
CertStoreCallback()
Create a CertStoreCallback.
|
| Modifier and Type | Method and Description |
|---|---|
java.security.cert.CertStore |
getCertStore()
Used by the CertStore user to obtain the CertStore set within the Callback.
|
void |
setCertStore(java.security.cert.CertStore certStore)
Used by the CallbackHandler to set the CertStore within the Callback.
|
public java.security.cert.CertStore getCertStore()
Used by the CertStore user to obtain the CertStore set within the Callback.
public void setCertStore(java.security.cert.CertStore certStore)
Used by the CallbackHandler to set the CertStore within the Callback.
certStore - The certificate store, which may be null.