Function: smime-pkcs7-certificates-region
smime-pkcs7-certificates-region is a byte-compiled function defined in
smime.el.gz.
Signature
(smime-pkcs7-certificates-region B E)
Documentation
Extract any certificates enclosed in PKCS7 message between points B and E.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/smime.el.gz
(defun smime-pkcs7-certificates-region (b e)
"Extract any certificates enclosed in PKCS7 message between points B and E."
(smime-new-details-buffer)
(when (smime-call-openssl-region
b e smime-details-buffer "pkcs7" "-print_certs" "-text")
(delete-region b e)
(insert-buffer-substring smime-details-buffer)
t))