be.SIRAPRISE.messages
Class ClientHelloMessageType
java.lang.Object
be.SIRAPRISE.messages.ServerMessageType
be.SIRAPRISE.messages.ServerInputMessageType
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 |
MESSAGETYPEID
public static final int MESSAGETYPEID
- The numeric identifier for this message type
- See Also:
- Constant Field Values
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 serverencryptionProtocolNames
- The set of names of encryption algorithms that the client is willing and able to use in the conversation with the serverrequestConnectionIdleTime
- 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 connectionversion
- The version of the SIRA_PRISE specification that this client will use in the conversation with the server
- Returns:
- A ClientHelloMessage