Java javax.net.ssl SSLEngine fields, constructors, methods, implement or subclass

Example usage for Java javax.net.ssl SSLEngine fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.net.ssl SSLEngine.

The text is from its open source code.

Method

ClassgetClass()
Returns the runtime class of this Object .
RunnablegetDelegatedTask()
Returns a delegated Runnable task for this SSLEngine .
String[]getEnabledCipherSuites()
Returns the names of the SSL cipher suites which are currently enabled for use on this engine.
String[]getEnabledProtocols()
Returns the names of the protocol versions which are currently enabled for use with this SSLEngine .
SSLEngineResult.HandshakeStatusgetHandshakeStatus()
Returns the current handshake status for this SSLEngine .
StringgetPeerHost()
Returns the host name of the peer.
intgetPeerPort()
Returns the port number of the peer.
SSLSessiongetSession()
Returns the SSLSession in use in this SSLEngine .
SSLParametersgetSSLParameters()
Returns the SSLParameters in effect for this SSLEngine.
String[]getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use on this engine.
String[]getSupportedProtocols()
Returns the names of the protocols which could be enabled for use with this SSLEngine .
booleangetUseClientMode()
Returns true if the engine is set to use client mode when handshaking.
voidsetEnabledCipherSuites(String suites[])
Sets the cipher suites enabled for use on this engine.
voidsetEnabledProtocols(String protocols[])
Set the protocol versions enabled for use on this engine.
voidsetEnableSessionCreation(boolean flag)
Controls whether new SSL sessions may be established by this engine.
voidsetNeedClientAuth(boolean need)
Configures the engine to require client authentication.
voidsetSSLParameters(SSLParameters params)
Applies SSLParameters to this engine.
voidsetUseClientMode(boolean mode)
Configures the engine to use client (or server) mode when handshaking.
voidsetWantClientAuth(boolean want)
Configures the engine to request client authentication.
SSLEngineResultwrap(ByteBuffer src, ByteBuffer dst)
Attempts to encode a buffer of plaintext application data into SSL/TLS/DTLS network data.
SSLEngineResultwrap(ByteBuffer[] srcs, ByteBuffer dst)
Attempts to encode plaintext bytes from a sequence of data buffers into SSL/TLS/DTLS network data.