Function: epg-start-delete-keys
epg-start-delete-keys is a byte-compiled function defined in
epg.el.gz.
Signature
(epg-start-delete-keys CONTEXT KEYS &optional ALLOW-SECRET)
Documentation
Initiate a delete keys operation.
If you use this function, you will need to wait for the completion of
epg-gpg-program by using epg-wait-for-completion and call
epg-reset to clear a temporary output file.
If you are unsure, use synchronous version of this function
epg-delete-keys instead.
Source Code
;; Defined in /usr/src/emacs/lisp/epg.el.gz
(defun epg-start-delete-keys (context keys &optional allow-secret)
"Initiate a delete keys operation.
If you use this function, you will need to wait for the completion of
`epg-gpg-program' by using `epg-wait-for-completion' and call
`epg-reset' to clear a temporary output file.
If you are unsure, use synchronous version of this function
`epg-delete-keys' instead."
(setf (epg-context-operation context) 'delete-keys)
(setf (epg-context-result context) nil)
(epg--start context (cons (if allow-secret
"--delete-secret-key"
"--delete-key")
(mapcar
(lambda (key)
(epg-sub-key-id
(car (epg-key-sub-key-list key))))
keys))))