Creates outbound messageparambytes data = bytes; length = data.length;
data = bytes; length = data.length;
Creates inbound messageparaminparamlengththrowsIOException if (length == 12 || length == 36) { data = in.read(length); length = data.length; } else { fatalAlert(AlertProtocol.DECODE_ERROR, "DECODE ERROR: incorrect Finished"); }
if (length == 12 || length == 36) { data = in.read(length); length = data.length; } else { fatalAlert(AlertProtocol.DECODE_ERROR, "DECODE ERROR: incorrect Finished"); }
Returns verify datareturn return data;
return data;
Returns message typereturn return Handshake.FINISHED;
return Handshake.FINISHED;
out.write(data);