Methods Summary |
---|
public final int | bytesConsumed()Returns the number of bytes retrieved from the source buffer(s).
return bytesConsumed;
|
public final int | bytesProduced()Returns the number of bytes transferred to the destination buffer(s).
return bytesProduced;
|
public final javax.net.ssl.SSLEngineResult$HandshakeStatus | getHandshakeStatus()Returns the status of the current handshake.
return handshakeStatus;
|
public final javax.net.ssl.SSLEngineResult$Status | getStatus()Returns the return value of the {@code SSLEngine} operation.
return status;
|
public java.lang.String | toString()Returns a string representation of this instance.
StringBuffer sb = new StringBuffer("SSLEngineReport: Status = ");
sb.append(status.toString());
sb.append(" HandshakeStatus = ");
sb.append(handshakeStatus.toString());
sb.append("\n bytesConsumed = ");
sb.append(Integer.toString(bytesConsumed));
sb.append(" bytesProduced = ");
sb.append(Integer.toString(bytesProduced));
return sb.toString();
|