Class CertStoreCallback
- java.lang.Object
-
- javax.security.auth.message.callback.CertStoreCallback
-
- All Implemented Interfaces:
javax.security.auth.callback.Callback
public class CertStoreCallback extends java.lang.Object implements javax.security.auth.callback.CallbackCallback 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.
- Since:
- May 11, 2006
- Version:
- $Revision$
-
-
Field Summary
Fields Modifier and Type Field Description private java.security.cert.CertStorecertStore
-
Constructor Summary
Constructors Constructor Description CertStoreCallback()Create a CertStoreCallback.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.cert.CertStoregetCertStore()Used by the CertStore user to obtain the CertStore set within the Callback.voidsetCertStore(java.security.cert.CertStore certStore)Used by the CallbackHandler to set the CertStore within the Callback.
-
-
-
Method Detail
-
getCertStore
public java.security.cert.CertStore getCertStore()
Used by the CertStore user to obtain the CertStore set within the Callback.
- Returns:
- The CertStore, or null.
-
setCertStore
public void setCertStore(java.security.cert.CertStore certStore)
Used by the CallbackHandler to set the CertStore within the Callback.
- Parameters:
certStore- The certificate store, which may be null.
-
-