java.lang.Object | |
↳ | javax.net.ssl.SSLEngineResult |
The result object describing the state of the SSLEngine
produced
by the wrap()
and unwrap()
operations.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SSLEngineResult.HandshakeStatus | The enum describing the state of the current handshake. |
||||||||||
SSLEngineResult.Status | The enum describing the result of the SSLEngine
operation. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
SSLEngineResult instance with the specified state
values. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the number of bytes retrieved from the source buffer(s).
| |||||||||||
Returns the number of bytes transferred to the destination buffer(s).
| |||||||||||
Returns the status of the current handshake.
| |||||||||||
Returns the return value of the
SSLEngine operation. | |||||||||||
Returns a string representation of this instance.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Creates a new SSLEngineResult
instance with the specified state
values.
status | the return value of the SSLEngine operation. |
---|---|
handshakeStatus | the status of the current handshake |
bytesConsumed | the number of bytes retrieved from the source buffer(s). |
bytesProduced | the number of bytes transferred to the destination buffer(s). |
IllegalArgumentException | if status or handshakeStatus is null ,
or if bytesConsumed or bytesProduces are
negative. |
---|
Returns the number of bytes retrieved from the source buffer(s).
Returns the number of bytes transferred to the destination buffer(s).
Returns the status of the current handshake.
Returns the return value of the SSLEngine
operation.
SSLEngine
operation.Returns a string representation of this instance.