JBoss Java Authentication SPI for Containers 1.0 API 1.0.0.Final

javax.security.auth.message.callback
Class CertStoreCallback

java.lang.Object
  extended by javax.security.auth.message.callback.CertStoreCallback
All Implemented Interfaces:
Callback

public class CertStoreCallback
extends Object
implements 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.

Since:
May 11, 2006
Version:
$Revision: 45179 $
Author:
Anil Saldhana, Charlie Lai, Ron Monzillo (Javadoc for JSR-196)

Constructor Summary
CertStoreCallback()
          Create a CertStoreCallback.
 
Method Summary
 CertStore getCertStore()
          Get the requested CertStore.
 void setCertStore(CertStore certStore)
          Set the CertStore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertStoreCallback

public CertStoreCallback()
Create a CertStoreCallback.

Method Detail

getCertStore

public CertStore getCertStore()
Get the requested CertStore.

Returns:
the CertStore, or null. If null, the requester is assumed to already have access to the relevant certificate and/or chain.

setCertStore

public void setCertStore(CertStore certStore)
Set the CertStore.

Parameters:
certStore - the certificate store, which may be null If null, the requester is assumed to already have access to the relevant certificate and/or chain.

JBoss Java Authentication SPI for Containers 1.0 API 1.0.0.Final

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.