public final class ExecuteMonitorCommandMessageTypeV1_0 extends ExecuteMonitorCommandMessageType
This message 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 USERID field. | |
MONITORCOMMAND | LSTRING | The monitor command as syntactically defined in the grammar section. |
MESSAGETYPEID
Modifier and Type | Method and Description |
---|---|
ExecuteMonitorCommandMessage |
message(java.lang.String monitorCommand,
byte[] signature,
java.lang.String userAuthenticationAlgorithm,
boolean authenticatedByClient,
java.lang.String userID)
Produces an ExecuteMonitorCommandMessage of the appropriate type reflecting the given attribute values
|
public ExecuteMonitorCommandMessage message(java.lang.String monitorCommand, byte[] signature, java.lang.String userAuthenticationAlgorithm, boolean authenticatedByClient, java.lang.String userID)
ExecuteMonitorCommandMessageType
message
in class ExecuteMonitorCommandMessageType
monitorCommand
- The monitor command to be executedsignature
- 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