SignatureMethod Print this Topic Previous Page Up One Level Next page

Home >  Server APIs: HTTP REST, COM/.NET, Java > Server API Reference > Interfaces/Classes > XMLDSig (for XML Signatures) > Properties >


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-sha1 (discouraged by the specification)


Example: hmac-sha256



COM and .NET


Signature: SignatureMethod(string algo)




Signature: public void setSignatureMethod(string algo)


© 2019 Altova GmbH