mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
scd: Add handling of "Algorithm Information" DO.
* cd/app-openpgp.c (data_objects): Add 0x00FA. (do_getattr): Add KEY-ATTR-INFO. -- See the section 4.4.3.11 Algorithm Information in the OpenPGP card functional specification version 3.4.1. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org> (cherry picked from commit 90d0072165cc5c6888f14462392a211de0c4b232) Some parts where already here.
This commit is contained in:
parent
d4208704a7
commit
acda0a3f33
@ -1077,6 +1077,7 @@ do_getattr (app_t app, ctrl_t ctrl, const char *name)
|
||||
{ "MANUFACTURER", 0x0000, -8 },
|
||||
{ "UIF", 0x0000, -9 }, /* Shortcut for all UIF */
|
||||
{ "KEY-STATUS", 0x00DE, 6 },
|
||||
{ "KEY-ATTR-INFO", 0x00FA, 7 },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
int idx, i, rc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user