javax.security.auth.message.callback
Class CertStoreCallback

java.lang.Object
  extended by 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.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.

Version:
%I%, %G%

Constructor Summary
CertStoreCallback()
          Create a CertStoreCallback.
 
Method Summary
 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.
 
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

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

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.


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41


Spec-Zone.ru - all specs in one place



free hit counter