public final class ClientHelloMessageTypeV1_0 extends ClientHelloMessageType
Zone | Format | Length | Description |
---|---|---|---|
SPCOUNT | INTEGER | 2 | Number of signing protocol specifications that follow. Can be zero. |
SP | STRING | The identification of a signing protocol that the client is willing and able to use. This field appears as many times as indicated in SPCOUNT. | |
EPCOUNT | INTEGER | 2 | Number of encryption protocol specificiations that follow. Can be zero. |
EP | STRING | The identification of an encryption protocol that the client is willing and able to use. This field appears as many times as indicated in EPCOUNT. | |
IDLETIME | INTEGER | 8 | The time in milliseconds that the server is requested to allow this connection to remain "idle". A connection is "idle" either if it has been opened, but no transaction has currently been started on it, or a transaction has been started, and that transaction is awaiting client input. "idle time forever" is not supported, but it can be approximated by requesting the value 0x7FFFFFFFFFFFFFFF. |
MAJORCLPRODUCTVERSION | INTEGER | 2 | The major version number of the SIRA_PRISE specification that the client was designed to handle (currently only the value 1 is valid). |
MINORCLPRODUCTVERSION | INTEGER | 2 | The minor version number of the SIRA_PRISE specification that the client was designed to handle. |
CLIENTID | STRING | The ID by which the client [thinks he] is known to the server. Only to be specified if the version information indicates a version 1.5 or later. Can be left blank (zero-length string) if no Signatures are requested. |
If the SPCOUNT field is set to zero, this means that the client will not be signing his commands. Likewise, if the EPCOUNT field is set to zero, this means that the client will not be encrypting his commands.
MESSAGETYPEID
Modifier and Type | Method and Description |
---|---|
ClientHelloMessage |
message(java.util.Set<java.lang.String> signatureAlgorithmNames,
java.util.Set<java.lang.String> encryptionProtocolNames,
long requestConnectionIdleTime,
Version version,
java.lang.String clientID)
Factory method for creating instances of ClientHello messages of some particular version of the CLientHello messagetype
|
public ClientHelloMessage message(java.util.Set<java.lang.String> signatureAlgorithmNames, java.util.Set<java.lang.String> encryptionProtocolNames, long requestConnectionIdleTime, Version version, java.lang.String clientID)
ClientHelloMessageType
message
in class ClientHelloMessageType
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 serverclientID
- The ID string by which the client is known to the server