acs_mail_lite::valid_signature (private)
acs_mail_lite::valid_signature -signature signature \ -message_id message_id
Defined in packages/acs-mail-lite/tcl/acs-mail-lite-procs.tcl
Validates if provided signature syntactically matches message_id as generated by OpenACS and equals to the hash of the provided signature. GN: not sure, why both is checked.
- Switches:
- -signature (required)
- signature to be checked
- -message_id (required)
- message ID that the signature should be checked against
- Returns:
- boolean 0 or 1
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.