be.SIRAPRISE.messages
Class ClientAuthenticationMessageType
java.lang.Object
be.SIRAPRISE.messages.ServerMessageType
be.SIRAPRISE.messages.ServerInputMessageType
be.SIRAPRISE.messages.ClientAuthenticationMessageType
- Direct Known Subclasses:
- ClientAuthenticationMessageTypeV1_0
public abstract class ClientAuthenticationMessageType
- extends ServerInputMessageType
The ClientAuthenticationMessageType is the message type that the server expects the client to send after the server has accepted a connection, and indicated that a signing protocol proposed by the client can be used
- Author:
- Erwin Smout
Method Summary |
abstract ClientAuthenticationMessage |
message(java.lang.String clientID,
byte[] signature)
Factory method for producing a ClientAuthentication message of this version of the message type |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MESSAGETYPEID
public static final int MESSAGETYPEID
- See Also:
- Constant Field Values
message
public abstract ClientAuthenticationMessage message(java.lang.String clientID,
byte[] signature)
- Factory method for producing a ClientAuthentication message of this version of the message type
- Parameters:
clientID
- The token identifying the client to the serversignature
- The bytes of the signature computed by applying the elected Signature to the clientID field
- Returns:
- A ClientAuthenticationMessage