SignatureMethod
Specifies the algorithm to use for generating the signature.
When a certificate is used
If a certificate is specified, then SignatureMethod is optional and the value for this parameter is derived from the certificate. If specified, it must match the algorithm used by the certificate. Example: rsa-sha256.
When --hmac-secret-key is used
When HMACSecretKey is used, then SignatureMethod is mandatory. The value must be one of the supported HMAC algorithms:
•hmac-sha256
•hmac-sha386
•hmac-sha512
•hmac-sha1 (discouraged by the specification)
Example: hmac-sha256
COM and .NET
Signature: SignatureMethod(string algo)
Java
Signature: public void setSignatureMethod(string algo)