Function: mml-secure-cache-expiry-interval
mml-secure-cache-expiry-interval is a byte-compiled function defined
in mml-sec.el.gz.
Signature
(mml-secure-cache-expiry-interval PROTOCOL)
Documentation
Return time in seconds to cache passphrases for PROTOCOL.
Passphrase caching in Emacs is NOT recommended. Use gpg-agent instead.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/mml-sec.el.gz
(defun mml-secure-cache-expiry-interval (protocol)
"Return time in seconds to cache passphrases for PROTOCOL.
Passphrase caching in Emacs is NOT recommended. Use gpg-agent instead."
(or (and (eq 'OpenPGP protocol)
(or (and (boundp 'mml2015-passphrase-cache-expiry)
mml2015-passphrase-cache-expiry)
(and (boundp 'mml1991-passphrase-cache-expiry)
mml1991-passphrase-cache-expiry)
mml-secure-passphrase-cache-expiry))
(and (eq 'CMS protocol)
(or (and (boundp 'mml-smime-passphrase-cache-expiry)
mml-smime-passphrase-cache-expiry)
mml-secure-passphrase-cache-expiry))))