Example usage for Java javax.net.ssl SSLEngine fields, constructors, methods, implement or subclass
The text is from its open source code.
Class> | getClass() Returns the runtime class of this Object . |
Runnable | getDelegatedTask() 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.HandshakeStatus | getHandshakeStatus() Returns the current handshake status for this SSLEngine . |
String | getPeerHost() Returns the host name of the peer. |
int | getPeerPort() Returns the port number of the peer. |
SSLSession | getSession() Returns the SSLSession in use in this SSLEngine . |
SSLParameters | getSSLParameters() 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 . |
boolean | getUseClientMode() Returns true if the engine is set to use client mode when handshaking. |
void | setEnabledCipherSuites(String suites[]) Sets the cipher suites enabled for use on this engine. |
void | setEnabledProtocols(String protocols[]) Set the protocol versions enabled for use on this engine. |
void | setEnableSessionCreation(boolean flag) Controls whether new SSL sessions may be established by this engine. |
void | setNeedClientAuth(boolean need) Configures the engine to require client authentication. |
void | setSSLParameters(SSLParameters params) Applies SSLParameters to this engine. |
void | setUseClientMode(boolean mode) Configures the engine to use client (or server) mode when handshaking. |
void | setWantClientAuth(boolean want) Configures the engine to request client authentication. |
SSLEngineResult | wrap(ByteBuffer src, ByteBuffer dst) Attempts to encode a buffer of plaintext application data into SSL/TLS/DTLS network data. |
SSLEngineResult | wrap(ByteBuffer[] srcs, ByteBuffer dst) Attempts to encode plaintext bytes from a sequence of data buffers into SSL/TLS/DTLS network data. |