FileDocCategorySizeDatePackage
TrustStoreCallback.javaAPI DocGlassfish v2 API3046Fri May 04 22:36:10 BST 2007javax.security.auth.message.callback

TrustStoreCallback

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.

version
%I%, %G%

Fields Summary
private KeyStore
trustStore
Constructors Summary
public TrustStoreCallback()
Create a TrustStoreCallback.

 
Methods Summary
public java.security.KeyStoregetTrustStore()
Used by the TrustStore user to obtain the TrustStore set within the Callback.

return
The trusted certificate KeyStore. The KeyStore is guaranteed to already be loaded.

	return trustStore;
    
public voidsetTrustStore(java.security.KeyStore trustStore)
Used by the CallbackHandler to set the trusted certificate keystore within the Callback.

param
trustStore The trusted certificate KeyStore, which must already be loaded.

	this.trustStore = trustStore;