Function: mml-secure-signer-names

mml-secure-signer-names is a byte-compiled function defined in mml-sec.el.gz.

Signature

(mml-secure-signer-names PROTOCOL SENDER)

Documentation

Determine signer names for PROTOCOL and message from SENDER.

Returned names may be e-mail addresses or key IDs and are determined based on mml-secure-openpgp-signers and mml-secure-openpgp-sign-with-sender with OpenPGP or mml-secure-smime-signers and mml-secure-smime-sign-with-sender with S/MIME.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/mml-sec.el.gz
(defun mml-secure-signer-names (protocol sender)
  "Determine signer names for PROTOCOL and message from SENDER.
Returned names may be e-mail addresses or key IDs and are determined based
on `mml-secure-openpgp-signers' and `mml-secure-openpgp-sign-with-sender' with
OpenPGP or `mml-secure-smime-signers' and `mml-secure-smime-sign-with-sender'
with S/MIME."
  (if (eq 'OpenPGP protocol)
      (append mml-secure-openpgp-signers
	      (if (and mml-secure-openpgp-sign-with-sender sender)
		  (list (concat "<" sender ">"))))
    (append mml-secure-smime-signers
	    (if (and mml-secure-smime-sign-with-sender sender)
		(list (concat "<" sender ">"))))))