Signing Algorithm (-SIGALG)

Use the Signing Algorithm adapter command (-SIGALG) to specify the digest algorithm used for hashing when signing a message. It corresponds to the --digest-algo NAME option for the GnuPG executable.


-SIGALG alogorithm_id

The following table lists the allowed values for the algorithm_id and the corresponding algorithms:

Algorithm_id
Algorithm
SHA1
Secure Hash Algorithm version 1.
MD5
Rivest's Message Digest.
RIPEMD160
160 bit output Message Digest.

The -SIGALG adapter command can always be specified, but it's value will only be used when a message needs to be signed. This happens when the following condition is met:

  • -ACTION SIGN or -ACTION SIGNANDENCRYPT adapter command is used