Home > Configuration > NS > setnshmackey_digest

setnshmackey_digest

Use this method to set digest (hash) function to be used in the HMAC computation.

Syntax



Parameters

name

Key name. This follows the same syntax rules as other expression entity names: It must begin with an alpha character (A-Z or a-z) or an underscore (_). The rest of the characters must be alpha, numeric (0-9) or underscores. It cannot be re or xp (reserved for regular and XPath expressions). It cannot be an expression reserved word (e.g. SYS or HTTP). It cannot be used for an existing expression object (HTTP callout, patset, dataset, stringmap, or named expression).
This is mandatory parameter.

digest

Digest (hash) function to be used in the HMAC computation.
Possible Values : MD2, MD4, MD5, SHA1, SHA224, SHA256, SHA384, SHA512.

Return Value

Returns simpleResult

See Also