be.SIRAPRISE.messages
Class ClientHelloMessageType

java.lang.Object
  extended by be.SIRAPRISE.messages.ServerMessageType
      extended by be.SIRAPRISE.messages.ServerInputMessageType
          extended by be.SIRAPRISE.messages.ClientHelloMessageType
Direct Known Subclasses:
ClientHelloMessageTypeV1_0

public abstract class ClientHelloMessageType
extends ServerInputMessageType

The ClientHelloMessageType groups all versions of the protocol negotiation message ("client hello message")

Author:
Erwin Smout

Field Summary
static int MESSAGETYPEID
          The numeric identifier for this message type
 
Method Summary
abstract  ClientHelloMessage message(java.util.Set<java.lang.String> signatureAlgorithmNames, java.util.Set<java.lang.String> encryptionProtocolNames, long requestConnectionIdleTime, Version version)
          Factory method for creating instances of ClientHello messages of some particular version of the CLientHello messagetype
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGETYPEID

public static final int MESSAGETYPEID
The numeric identifier for this message type

See Also:
Constant Field Values
Method Detail

message

public abstract ClientHelloMessage message(java.util.Set<java.lang.String> signatureAlgorithmNames,
                                           java.util.Set<java.lang.String> encryptionProtocolNames,
                                           long requestConnectionIdleTime,
                                           Version version)
Factory method for creating instances of ClientHello messages of some particular version of the CLientHello messagetype

Parameters:
signatureAlgorithmNames - The set of names of signatrue algorithms that the client is willing and able to use in the conversation with the server
encryptionProtocolNames - The set of names of encryption algorithms that the client is willing and able to use in the conversation with the server
requestConnectionIdleTime - The time in millieseconds that the client requests the server to allow this connection to remain idle, that is, in a state where no transaction has been started on the connection
version - The version of the SIRA_PRISE specification that this client will use in the conversation with the server
Returns:
A ClientHelloMessage