Sign the specified data groups and produce an SOd (MRTD).
$ bin/signclient signdatagroups
usage: signdatagroups <options>
Request MRTD data groups to be signed
-data <arg> Data to send to the worker.
-encoding <arg> Encoding of the data option. None or base64.
Default: none.
-host <arg> Server name or IP address. Default: localhost
-keyalias <arg> Alias of the key in the keystore to use for
authentication.
-keystore <arg> Keystore with private key and certificate for
client certificate authentication.
-keystorepwd <arg> Password for reading the keystore. If keystore is
specified but not this keystore password option,
the CLI will instead prompt for the password.
-metadata <arg> Additional meta data to send to the signer. The
parameters should be given in the form KEY=VALUE.
This option can be given multiple times.
-password <arg> Password for authentication. If username is
specified but not this password option, the CLI
will instead prompt for the password.
-port <arg> Server port. Default: 8080 (for HTTP), 8442 for
HTTPS and 8443 for HTTPS with client
authentication.
-protocol <arg> Method of interacting with SignServer. HTTP or
CLIENTWS. Default: HTTP.
-repeat <arg> Run the operation this number of times. Default: 1
-servlet <arg> Servlet to call. Default /signserver/sod
-truststore <arg> Keystore with trusted certificates to use with
HTTPS.
-truststorepwd <arg> Password for the keystore with trusted
certificates. If truststore is specified but not
this truststore password option, the CLI will
instead prompt for the password.
-username <arg> Username for authentication.
-workerid <arg> ID of worker which should perform the operation.
-workername <arg> Name of worker which should perform the operation.
Sample usages:
a) signdatagroups -workername MRTDSODSigner -data
"1=value1&2=value2&3=value3"
b) signdatagroups -workername MRTDSODSigner -data
"1=PJaDAX+eS/M9D77dJr8UP9ct6bndFFRBt18GBAR+oo4=&2=BTfUgfc6dXM0MoBS2jr5Ymzt
lwKOILhJ9hFcIs12UZc=&3=idxq5/Bqn0a1Za8D6rDs4L9gJNNlm346HQNXPP6wtZ0="
c) signdatagroups -workername MRTDSODSigner -data
"1=value1&2=value2&3=value3" -metadata param1=value1 -metadata
param2=value2