TrustManager | javax.net.ssl |
This
is a marker interface to identify trust manager objects. A trust
manager is responsible for examining the authentication credentials
(such as a certificate chain) presented by the remote host and
deciding whether to trust those credentials and accept them. A
trustManager is usually used an SSL client to
decide whether the SSL server is authentic, but may also be used by
an SSL server when client authentication is also required.
Use a trustManagerFactory to obtain
trustManager objects.
TRustManager objects returned by a
trustManagerFactory can always be cast to a
subinterface specific to a specific type of keys. See
X509trustManager, for exmaple.
public interface TrustManager {
}
Implementations
X509trustManager
Passed To
SSLContext.init( ),
SSLContextSpi.engineInit( )
Returned By
trustManagerFactory.getTrustManagers( ),
trustManagerFactorySpi.engineGetTrustManagers( )
|