Function: pgg-verify

pgg-verify is an interactive and byte-compiled function defined in pgg.el.gz.

Signature

(pgg-verify &optional SIGNATURE FETCH START END)

Documentation

Verify the current buffer.

If the optional argument SIGNATURE is non-nil, it is treated as the detached signature of the current region. If the optional argument FETCH is non-nil, we attempt to fetch the signer's public key from pgg-default-keyserver-address. If optional arguments START and END are specified, only verify data within the region.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/pgg.el.gz
;;;###autoload
(defun pgg-verify (&optional signature fetch start end)
  "Verify the current buffer.
If the optional argument SIGNATURE is non-nil, it is treated as
the detached signature of the current region.
If the optional argument FETCH is non-nil, we attempt to fetch the
signer's public key from `pgg-default-keyserver-address'.
If optional arguments START and END are specified, only verify data
within the region."
  (interactive "")
  (let* ((start (or start (point-min)))
	 (end (or end (point-max)))
	 (status (pgg-verify-region start end signature fetch)))
    (when (called-interactively-p 'interactive)
      (let ((temp-buffer-show-function
	     (function pgg-temp-buffer-show-function)))
	(with-output-to-temp-buffer pgg-echo-buffer
	  (set-buffer standard-output)
	  (insert-buffer-substring (if status pgg-output-buffer
				     pgg-errors-buffer)))))
    status))