mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
scd: Factor common PIN status check out.
* scd/iso7816.h (ISO7816_VERIFY_ERROR): New. (ISO7816_VERIFY_NO_PIN): New. (ISO7816_VERIFY_BLOCKED): New. (ISO7816_VERIFY_NULLPIN): New. (ISO7816_VERIFY_NOT_NEEDED): New. * scd/iso7816.c (iso7816_verify_status): New. * scd/app-nks.c (get_chv_status): Use new function. * scd/app-piv.c (get_chv_status): Ditto. (verify_chv): Ditto. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
5ec1f66793
commit
60d018f6a9
5 changed files with 58 additions and 83 deletions
|
@ -1171,7 +1171,7 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
|
|||
by OpenPGP cards for the stored key creation time. A '-' means no
|
||||
info available. The format is the usual ISO string are a number
|
||||
with the seconds since Epoch.
|
||||
*** MANUFACTORER <n> [<string>]
|
||||
*** MANUFACTURER <n> [<string>]
|
||||
|
||||
This status returns the Manufactorer ID as the unsigned number N.
|
||||
For OpenPGP this is weel defined; for other cards this is 0. The
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue