(epg-status-NO_SECKEY): New function.
+2006-04-29 Daiki Ueno <ueno@unixuser.org>
+
+ * epg.el (epg-status-NO_PUBKEY): New function.
+ (epg-status-NO_SECKEY): New function.
+
2006-04-28 Daiki Ueno <ueno@unixuser.org>
* epg.el: Added typecheck to accessors to objects.
2006-04-28 Daiki Ueno <ueno@unixuser.org>
* epg.el: Added typecheck to accessors to objects.
(eq (epg-signature-status signature) 'good))
(epg-signature-set-validity signature 'ultimate))))
(eq (epg-signature-status signature) 'good))
(epg-signature-set-validity signature 'ultimate))))
+(defun epg-status-NO_PUBKEY (process string)
+ (epg-context-set-result-for
+ epg-context 'error
+ (cons (cons 'no-pubkey string)
+ (epg-context-result-for epg-context 'error))))
+
+(defun epg-status-NO_SECKEY (process string)
+ (epg-context-set-result-for
+ epg-context 'error
+ (cons (cons 'no-seckey string)
+ (epg-context-result-for epg-context 'error))))
+
(defun epg-status-PROGRESS (process string)
(if (string-match "\\`\\([^ ]+\\) \\([^ ]\\) \\([0-9]+\\) \\([0-9]+\\)"
string)
(defun epg-status-PROGRESS (process string)
(if (string-match "\\`\\([^ ]+\\) \\([^ ]\\) \\([0-9]+\\) \\([0-9]+\\)"
string)