| Package | Description | 
|---|---|
| javax.net.ssl | Provides classes for the secure socket package. | 
| Modifier and Type | Method and Description | 
|---|---|
| SSLEngine | SSLContext. createSSLEngine()Creates a new  SSLEngineusing this context. | 
| SSLEngine | SSLContext. createSSLEngine(String peerHost,
               int peerPort)Creates a new  SSLEngineusing this context using
 advisory peer information. | 
| protected abstract SSLEngine | SSLContextSpi. engineCreateSSLEngine()Creates a new  SSLEngineusing this context. | 
| protected abstract SSLEngine | SSLContextSpi. engineCreateSSLEngine(String host,
                     int port)Creates a  SSLEngineusing this context. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | X509ExtendedTrustManager. checkClientTrusted(X509Certificate[] chain,
                  String authType,
                  SSLEngine engine)Given the partial or complete certificate chain provided by the
 peer, build and validate the certificate path based on the
 authentication type and ssl parameters. | 
| abstract void | X509ExtendedTrustManager. checkServerTrusted(X509Certificate[] chain,
                  String authType,
                  SSLEngine engine)Given the partial or complete certificate chain provided by the
 peer, build and validate the certificate path based on the
 authentication type and ssl parameters. | 
| String | X509ExtendedKeyManager. chooseEngineClientAlias(String[] keyType,
                       Principal[] issuers,
                       SSLEngine engine)Choose an alias to authenticate the client side of an
  SSLEngineconnection given the public key type
 and the list of certificate issuer authorities recognized by
 the peer (if any). | 
| String | X509ExtendedKeyManager. chooseEngineServerAlias(String keyType,
                       Principal[] issuers,
                       SSLEngine engine)Choose an alias to authenticate the server side of an
  SSLEngineconnection given the public key type
 and the list of certificate issuer authorities recognized by
 the peer (if any). | 
 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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.