aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-card.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpg-card.h')
-rw-r--r--tools/gpg-card.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/gpg-card.h b/tools/gpg-card.h
index fc01684b0..9627e7b30 100644
--- a/tools/gpg-card.h
+++ b/tools/gpg-card.h
@@ -174,11 +174,16 @@ struct card_info_s
unsigned int ki:1; /* Key import available. */
unsigned int aac:1; /* Algorithm attributes are changeable. */
unsigned int kdf:1; /* KDF object to support PIN hashing available. */
- unsigned int bt:1; /* Button for confirmation available. */
+ unsigned int bt:1; /* Button for confirmation available. */
+ unsigned int sm:1; /* Secure messaging available. */
+ unsigned int smalgo:15;/* Secure messaging cipher algorithm. */
+ unsigned int private_dos:1;/* Support fpr private use DOs. */
+ unsigned int mcl3:16; /* Max. length for a OpenPGP card cert.3 */
} extcap;
unsigned int status_indicator;
int kdf_do_enabled; /* True if card has a KDF object. */
- int uif[3]; /* True if User Interaction Flag is on. */
+ int uif[3]; /* True if User Interaction Flag is on. */
+ /* 1 = on, 2 = permanent on. */
};
typedef struct card_info_s *card_info_t;