(signal 'wrong-type-argument (list 'epg-sub-key-p sub-key)))
(aset (cdr sub-key) 8 fingerprint))
-(defun epg-make-user-id (validity name)
+(defun epg-make-user-id (validity string)
"Return a user ID object."
- (cons 'epg-user-id (vector validity name nil)))
+ (cons 'epg-user-id (vector validity string nil)))
(defun epg-user-id-validity (user-id)
"Return the validity of USER-ID."
(signal 'wrong-type-argument (list 'epg-user-id-p user-id)))
(aref (cdr user-id) 0))
-(defun epg-user-id-name (user-id)
+(defun epg-user-id-string (user-id)
"Return the name of USER-ID."
(unless (eq (car user-id) 'epg-user-id)
(signal 'wrong-type-argument (list 'epg-user-id-p user-id)))
Otherwise, only public keyring should be searched and the key
signatures should be included."
(let ((lines (epg-list-keys-1 context name mode))
- keys cert key-id user-id-name entry)
+ keys cert key-id user-id-string entry)
(while lines
(cond
((member (aref (car lines) 0) '("pub" "sec" "crt" "crs"))
(nreverse (epg-key-user-id-list (car keys))))
(setq key-id
(epg-sub-key-id (car (epg-key-sub-key-list (car keys))))
- user-id-name
- (epg-user-id-name (car (epg-key-user-id-list (car keys))))
+ user-id-string
+ (epg-user-id-string (car (epg-key-user-id-list (car keys))))
entry (assoc key-id epg-user-id-alist))
(if entry
- (setcdr entry user-id-name)
- (setq epg-user-id-alist (cons (cons key-id user-id-name)
+ (setcdr entry user-id-string)
+ (setq epg-user-id-alist (cons (cons key-id user-id-string)
epg-user-id-alist))))
(setq cert (member (aref (car lines) 0) '("crt" "crs"))
keys (cons (epg-make-key