| Package | Description | 
|---|---|
| javax.net.ssl | Provides classes for the secure socket package. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | X509TrustManagerInstance of this interface manage which X509 certificates
 may be used to authenticate the remote side of a secure
 socket. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | X509ExtendedTrustManagerExtensions to the  X509TrustManagerinterface to support
 SSL/TLS connection sensitive trust management. | 
| 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. | 
| 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, 2020, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.