com.kodemuse.security.ssl
Class HandshakeType

java.lang.Object
  |
  +--com.kodemuse.security.ssl.LogCapability
        |
        +--com.kodemuse.security.ssl.HandshakeType
All Implemented Interfaces:
DataSource

class HandshakeType
extends LogCapability
implements DataSource

 enum {
     hello_request(0), client_hello(1), server_hello(2),
     certificate(11), server_key_exchange (12),
     certificate_request(13), server_hello_done(14),
     certificate_verify(15), client_key_exchange(16),
     finished(20), (255)
 } HandshakeType;
 

Author:
Harmeet Bedi

Constructor Summary
HandshakeType(java.io.DataInputStream din)
           
HandshakeType(int type)
           
 
Method Summary
 byte getType()
           
 boolean isEqual(HandshakeType t)
           
 java.lang.String toString()
           
 void write(OutputBuffer out)
           
 
Methods inherited from class com.kodemuse.security.ssl.LogCapability
log, protocolLog
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HandshakeType

public HandshakeType(int type)

HandshakeType

public HandshakeType(java.io.DataInputStream din)
              throws java.io.IOException
Method Detail

getType

public byte getType()

write

public void write(OutputBuffer out)
Specified by:
write in interface DataSource

isEqual

public boolean isEqual(HandshakeType t)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object