ad_sign

EveAndersson.com : API Browser : ad_sign

ad_sign (public)

ad_sign [ -secret secret ] [ -token_id token_id ] [ -max_age max_age ] \
    value
Defined in packages/acs-core/security-procs.tcl

Returns a digital signature of the value. Negative token_ids are reserved for secrets external to the ACS digital signature mechanism. If a token_id is specified, a secret must also be specified.

Switches:
-secret (optional) - allows the caller to specify a known secret external to the random secret management mechanism.
-token_id (optional) - allows the caller to specify a token_id.
-max_age (optional) - specifies the length of time the signature is valid in seconds. The default is forever.

Parameters:
value - the value to be signed.
[ show source ]

Show another procedure:

eve@eveandersson.com