javax.security.auth.message.callback
Class TrustStoreCallback

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

public class TrustStoreCallback
extends Object
implements Callback

Callback for trusted certificate KeyStore.

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

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

Constructor Summary
TrustStoreCallback()
          Create a new TrustStoreCallback.
 
Method Summary
 KeyStore getTrustStore()
          Get the requested trusted certificate KeyStore.
 void setTrustStore(KeyStore trustStore)
          Set the trusted certificate KeyStore.
 
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 new TrustStoreCallback.

Method Detail

getTrustStore

public KeyStore getTrustStore()
Get the requested trusted certificate KeyStore.

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

setTrustStore

public void setTrustStore(KeyStore trustStore)
Set the trusted certificate KeyStore.

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


Copyright © 2008 JBoss Inc.. All Rights Reserved.