public final class HotRestartMessageTypeV1_0 extends HotRestartMessageType
This message type has the following fields :
Zone | Format | Length | Description |
---|---|---|---|
USERID | STRING | The name of the user issuing the monitor command. Can be the zero-length string, but if not, it must be a name that appears in some tuple of the USER relvar. | |
AUTHBYCLIENT | INTEGER | 1 | 1 if the client has authenticated the user, 0 otherwise. |
AUTHALGORITHM | STRING | The name of the signing algorithm used to compute SIGNATURE. Can be the zero-length string. | |
SIGNATURELENGTH | INTEGER | 2 | The number of bytes in SIGNATURE. Can be zero, in which case the SIGNATURE field is omitted from the message. |
SIGNATURE | BYTES | The signature as computed by the signature algorithm identified by AUTHALGORITHM, using the user's private key corresponding to the public key that is registered for the user in the USERCERTIFICATE relvar, and applied to the CHALLENGE field obtained from the preceding ServerHello response message. |
MESSAGETYPEID
Modifier and Type | Method and Description |
---|---|
static HotRestartMessageType |
getInstance()
Gets The instance of the message type
|
HotRestartMessage |
message(MessageParams commandParams,
byte[] signature,
java.lang.String userAuthenticationAlgorithm,
boolean authenticatedByClient,
java.lang.String userID)
Produces a CompiledMonitorCommandMessage of the appropriate type reflecting the given attribute values
|
public static HotRestartMessageType getInstance()
public HotRestartMessage message(MessageParams commandParams, byte[] signature, java.lang.String userAuthenticationAlgorithm, boolean authenticatedByClient, java.lang.String userID)
ExecuteCompiledMonitorCommandMessageType
message
in class ExecuteCompiledMonitorCommandMessageType
commandParams
- The command object's relevant params to be communicated in a message to the serversignature
- The signature authenticating the user IDuserAuthenticationAlgorithm
- Name of the Signature algorithm to be used when signing the user ID/verifying the userID signatureauthenticatedByClient
- true if the user has been authenticated by the clientuserID
- The ID of the user issuing the monitor command