javax.security.auth.message.callback
Class TrustStoreCallback

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

public class TrustStoreCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback

Callback for trusted certificate KeyStore.

A trusted certificate KeyStore may be used to determine whether a given certificate chain can be trusted.

Version:
%I%, %G%

Constructor Summary
TrustStoreCallback()
          Create a TrustStoreCallback.
 
Method Summary
 java.security.KeyStore getTrustStore()
          Used by the TrustStore user to obtain the TrustStore set within the Callback.
 void setTrustStore(java.security.KeyStore trustStore)
          Used by the CallbackHandler to set the trusted certificate keystore within the Callback.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrustStoreCallback

public TrustStoreCallback()
Create a TrustStoreCallback.

Method Detail

setTrustStore

public void setTrustStore(java.security.KeyStore trustStore)
Used by the CallbackHandler to set the trusted certificate keystore within the Callback.

Parameters:
trustStore - The trusted certificate KeyStore, which must already be loaded.

getTrustStore

public java.security.KeyStore getTrustStore()
Used by the TrustStore user to obtain the TrustStore set within the Callback.

Returns:
The trusted certificate KeyStore. The KeyStore is guaranteed to already be loaded.


Submit a bug or feature

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

Generated on 4-June-2010 04:34