Package | Description |
---|---|
javax.net.ssl |
Provides classes for the secure socket package.
|
Modifier and Type | Method and Description |
---|---|
SSLEngine |
SSLContext.createSSLEngine()
Creates a new
SSLEngine using this context. |
SSLEngine |
SSLContext.createSSLEngine(String peerHost,
int peerPort)
Creates a new
SSLEngine using this context using
advisory peer information. |
protected abstract SSLEngine |
SSLContextSpi.engineCreateSSLEngine()
Creates a new
SSLEngine using this context. |
protected abstract SSLEngine |
SSLContextSpi.engineCreateSSLEngine(String host,
int port)
Creates a
SSLEngine using this context. |
Modifier and Type | Method and Description |
---|---|
BiFunction<SSLEngine,List<String>,String> |
SSLEngine.getHandshakeApplicationProtocolSelector()
Retrieves the callback function that selects an application protocol
value during a SSL/TLS/DTLS handshake.
|
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
SSLEngine connection 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
SSLEngine connection given the public key type
and the list of certificate issuer authorities recognized by
the peer (if any). |
Modifier and Type | Method and Description |
---|---|
void |
SSLEngine.setHandshakeApplicationProtocolSelector(BiFunction<SSLEngine,List<String>,String> selector)
Registers a callback function that selects an application protocol
value for a SSL/TLS/DTLS handshake.
|
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.