
javax.security.auth.message.callback.CertStoreCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jboss-javaee-all-8.0
Show all versions of jboss-javaee-all-8.0
Combine jar files which includes all Java EE 8 Spec APIs
The newest version!
package javax.security.auth.message.callback;
import javax.security.auth.callback.Callback;
import java.security.cert.CertStore;
//$Id$
/**
* 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.
*
* @author Anil Saldhana
* @author Charlie Lai, Ron Monzillo (Javadoc for JSR-196)
* @since May 11, 2006
* @version $Revision$
*/
public class CertStoreCallback implements Callback
{
private CertStore certStore;
/**
* Create a CertStoreCallback.
*/
public CertStoreCallback()
{
}
/**
* Used by the CertStore user to obtain the CertStore set within the Callback.
*
* @return The CertStore, or null.
*/
public CertStore getCertStore()
{
return certStore;
}
/**
* Used by the CallbackHandler to set the CertStore within the Callback.
*
* @param certStore The certificate store, which may be null.
*/
public void setCertStore(CertStore certStore)
{
this.certStore = certStore;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy