public abstract class ServerHelloMessageType extends ServerMessageType
| Modifier and Type | Field and Description |
|---|---|
static int |
MESSAGETYPEID
The numeric ID for messages of this type (464515565 )
|
| Modifier and Type | Method and Description |
|---|---|
abstract ServerHelloMessage |
message(java.lang.String signatureName,
java.lang.String cipherName,
long idleTime,
Version clientSiraPriseVersion,
java.util.Set<java.lang.String> alternativeSigningProtocols,
byte[] challenge,
byte[] cipherInfo,
java.lang.String cipherInfoCipherName)
Factory method to produce a ServerHello message of this version of the message type
|
public static final int MESSAGETYPEID
public abstract ServerHelloMessage message(java.lang.String signatureName, java.lang.String cipherName, long idleTime, Version clientSiraPriseVersion, java.util.Set<java.lang.String> alternativeSigningProtocols, byte[] challenge, byte[] cipherInfo, java.lang.String cipherInfoCipherName)
signatureName - The message signing protocol elected by the server from the set of signing protocols proposed by the clientcipherName - The encryption protocol elected by the server from the set of encryption protocols proposed by the clientidleTime - The time in milliseconds that the server will allow this connection to remain idleclientSiraPriseVersion - The SIRA_PRISE version that the client must use for communication.alternativeSigningProtocols - The set of alternative signing protocols that the server can handle (in addition to the elected signingProtocol) for user authenticationchallenge - The 'challenge' to the client who wants to establish a connection and will be taken to task to authenticate himself, using this challengecipherInfo - The additional info relating to the cipherName fieldcipherInfoCipherName - flag indicating whether the cipherInfo is passed in PlainText, or encrypted using the public key from the certificate that the connecting client has registered for the selected signature algorithm