|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.SIRAPRISE.messages.ServerMessageType
be.SIRAPRISE.messages.ServerInputMessageType
be.SIRAPRISE.messages.ClientAuthenticationMessageType
be.SIRAPRISE.messages.ClientAuthenticationMessageTypeV1_0
public final class ClientAuthenticationMessageTypeV1_0
ClientAuthenticationMessageTypeV1_0 is version 1_0 of the ClientAuthenticationMessageType. The layout of this message is as follows.
Zone | Format | Length | Description |
---|---|---|---|
CLIENTID | STRING | The name of the client. This must be a name that appears in some tuple of the CLIENT relvar. | |
SIGNATURELENGTH | INTEGER | 2 | The number of bytes in SIGNATURE. |
SIGNATURE | BYTES | The actual signature computed by the retained signing algorithm using the client's private key on a message that consists solely of (all the bytes of, i.e. including the TLENGTH and BLENGTH fields) the CLIENTID field. |
Field Summary |
---|
Fields inherited from class be.SIRAPRISE.messages.ClientAuthenticationMessageType |
---|
MESSAGETYPEID |
Method Summary | |
---|---|
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 |
Method Detail |
---|
public ClientAuthenticationMessage message(java.lang.String clientID, byte[] signature)
ClientAuthenticationMessageType
message
in class ClientAuthenticationMessageType
clientID
- The token identifying the client to the serversignature
- The bytes of the signature computed by applying the elected Signature to the clientID field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |