| 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 enumdescribing the state of the current handshake. | |||||||||
|  | SSLEngineResult.Status | The enumdescribing the result of theSSLEngineoperation. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | 
           Creates a new 
            SSLEngineResultinstance 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 
            SSLEngineoperation. | ||||||||||
|  | 
           Returns a string containing a concise, human-readable description of this object.
           | ||||||||||
| [Expand] 
           Inherited Methods
           | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class java.lang.Object | |||||||||||
Creates a new SSLEngineResult instance with the specified state values.
| status | the return value of the SSLEngineoperation. | 
|---|---|
| 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 statusorhandshakeStatusisnull, or ifbytesConsumedorbytesProducesare 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 containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful toString method if you intend implementing your own toString method.