Top Description Fields Constructors Methods
jakarta.security.auth.message.callback

public Class TrustStoreCallback

extends Object
implements Callback
Class Inheritance
All Implemented Interfaces
javax.security.auth.callback.Callback
Imports
java.security.KeyStore, 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.

Field Summary

Modifier and TypeField and Description
private KeyStore

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public KeyStore

Returns:

The trusted certificate KeyStore. The KeyStore is guaranteed to already be loaded.
getTrustStore
()

Used by the TrustStore user to obtain the TrustStore set within the Callback.

public void
setTrustStore(KeyStore
The trusted certificate KeyStore, which must already be loaded.
trustStore
)

Used by the CallbackHandler to set the trusted certificate keystore within the Callback.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

trustStoreback to summary
private KeyStore trustStore

Constructor Detail

TrustStoreCallbackback to summary
public TrustStoreCallback()

Method Detail

getTrustStoreback to summary
public KeyStore getTrustStore()

Used by the TrustStore user to obtain the TrustStore set within the Callback.

Returns:KeyStore

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

setTrustStoreback to summary
public void setTrustStore(KeyStore trustStore)

Used by the CallbackHandler to set the trusted certificate keystore within the Callback.

Parameters
trustStore:KeyStore

The trusted certificate KeyStore, which must already be loaded.