Liking cljdoc? Tell your friends :D

javax.net.ssl.SSLEngineResult

An encapsulation of the result state produced by SSLEngine I/O calls.

A SSLEngine provides a means for establishing secure communication sessions between two peers. SSLEngine operations typically consume bytes from an input buffer and produce bytes in an output buffer. This class provides operational result values describing the state of the SSLEngine, including indications of what operations are needed to finish an ongoing handshake. Lastly, it reports the number of bytes consumed and produced as a result of this operation.

An encapsulation of the result state produced by
SSLEngine I/O calls.

 A SSLEngine provides a means for establishing
secure communication sessions between two peers.  SSLEngine
operations typically consume bytes from an input buffer and produce
bytes in an output buffer.  This class provides operational result
values describing the state of the SSLEngine, including
indications of what operations are needed to finish an
ongoing handshake.  Lastly, it reports the number of bytes consumed
and produced as a result of this operation.
raw docstring

->ssl-engine-resultclj

(->ssl-engine-result status handshake-status bytes-consumed bytes-produced)

Constructor.

Initializes a new instance of this class.

status - the return value of the operation. - javax.net.ssl.SSLEngineResult$Status handshake-status - the current handshaking status. - javax.net.ssl.SSLEngineResult$HandshakeStatus bytes-consumed - the number of bytes consumed from the source ByteBuffer - int bytes-produced - the number of bytes placed into the destination ByteBuffer - int

throws: java.lang.IllegalArgumentException - if the status or handshakeStatus arguments are null, or if bytesConsumed or bytesProduced is negative.

Constructor.

Initializes a new instance of this class.

status - the return value of the operation. - `javax.net.ssl.SSLEngineResult$Status`
handshake-status - the current handshaking status. - `javax.net.ssl.SSLEngineResult$HandshakeStatus`
bytes-consumed - the number of bytes consumed from the source ByteBuffer - `int`
bytes-produced - the number of bytes placed into the destination ByteBuffer - `int`

throws: java.lang.IllegalArgumentException - if the status or handshakeStatus arguments are null, or if bytesConsumed or bytesProduced is negative.
raw docstring

bytes-consumedclj

(bytes-consumed this)

Returns the number of bytes consumed from the input buffer.

returns: the number of bytes consumed. - int

Returns the number of bytes consumed from the input buffer.

returns: the number of bytes consumed. - `int`
raw docstring

bytes-producedclj

(bytes-produced this)

Returns the number of bytes written to the output buffer.

returns: the number of bytes produced - int

Returns the number of bytes written to the output buffer.

returns: the number of bytes produced - `int`
raw docstring

get-handshake-statusclj

(get-handshake-status this)

Gets the handshake status of this SSLEngine operation.

returns: the handshake status - javax.net.ssl.SSLEngineResult$HandshakeStatus

Gets the handshake status of this SSLEngine
 operation.

returns: the handshake status - `javax.net.ssl.SSLEngineResult$HandshakeStatus`
raw docstring

get-statusclj

(get-status this)

Gets the return value of this SSLEngine operation.

returns: the return value - javax.net.ssl.SSLEngineResult$Status

Gets the return value of this SSLEngine operation.

returns: the return value - `javax.net.ssl.SSLEngineResult$Status`
raw docstring

to-stringclj

(to-string this)

Returns a String representation of this object.

returns: a string representation of the object. - java.lang.String

Returns a String representation of this object.

returns: a string representation of the object. - `java.lang.String`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close