com.kodemuse.security.ssl
Class ServerHello
java.lang.Object
|
+--com.kodemuse.security.ssl.LogCapability
|
+--com.kodemuse.security.ssl.ServerHello
- All Implemented Interfaces:
- DataSource
- class ServerHello
- extends LogCapability
- implements DataSource
struct {
ProtocolVersion server_version;
Random random;
SessionID session_id;
CipherSpec cipher_suite;
CompressionMethod compression_method;
} ServerHello;
- Author:
- Harmeet Bedi
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServerHello
public ServerHello(java.io.DataInputStream din)
throws java.io.IOException
ServerHello
public ServerHello(ProtocolVersion version,
SessionID sessionID,
CipherSpec cipherSuite)
throws java.io.IOException
getSessionID
public SessionID getSessionID()
getRandom
public Random getRandom()
getCipherSpec
public CipherSpec getCipherSpec()
write
public void write(OutputBuffer out)
- Specified by:
write
in interface DataSource
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object