Function: epg-new-signature-to-string
epg-new-signature-to-string is a byte-compiled function defined in
epg.el.gz.
Signature
(epg-new-signature-to-string NEW-SIGNATURE)
Documentation
Convert NEW-SIGNATURE to a human readable string.
Source Code
;; Defined in /usr/src/emacs/lisp/epg.el.gz
(defun epg-new-signature-to-string (new-signature)
"Convert NEW-SIGNATURE to a human readable string."
(concat
(cond ((eq (epg-new-signature-type new-signature) 'detached)
"Detached signature ")
((eq (epg-new-signature-type new-signature) 'clear)
"Cleartext signature ")
(t
"Signature "))
(cdr (assq (epg-new-signature-pubkey-algorithm new-signature)
epg-pubkey-algorithm-alist))
"/"
(cdr (assq (epg-new-signature-digest-algorithm new-signature)
epg-digest-algorithm-alist))
" "
(format "%02X " (epg-new-signature-class new-signature))
(epg-new-signature-fingerprint new-signature)))