## Uses of Interface
javax.net.ssl.TrustManager

- Packages that use TrustManager
  Package | Description
  --- | ---
  javax.net.ssl | Provides classes for the secure socket package.

- - ### Uses of TrustManager in javax.net.ssl

    Subinterfaces of TrustManager in javax.net.ssl
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `X509TrustManager` Instance of this interface manage which X509 certificates may be used to authenticate the remote side of a secure socket.

    Classes in javax.net.ssl that implement TrustManager
    Modifier and Type | Class and Description
    --- | ---
    `class` | `X509ExtendedTrustManager` Extensions to the `X509TrustManager` interface to support SSL/TLS connection sensitive trust management.

    Methods in javax.net.ssl that return TrustManager
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract TrustManager[]` | TrustManagerFactorySpi.`engineGetTrustManagers()` Returns one trust manager for each type of trust material.
    `TrustManager[]` | TrustManagerFactory.`getTrustManagers()` Returns one trust manager for each type of trust material.

    Methods in javax.net.ssl with parameters of type TrustManager
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | SSLContextSpi.`engineInit(KeyManager[] km, TrustManager[] tm, SecureRandom sr)` Initializes this context.
    `void` | SSLContext.`init(KeyManager[] km, TrustManager[] tm, SecureRandom random)` Initializes this context.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.