summaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-07-22 19:21:47 +0200
committerWerner Koch <wk@gnupg.org>2009-07-22 19:21:47 +0200
commitb37b85e722718c1c9cc7362d34a0a352eb2296b8 (patch)
treee3c1a69c20d4c3ffe9a6dc79ba2a7d41a6e11aae /g10/call-agent.h
parentEmit CARDCTRL status lines. (diff)
downloadgnupg2-b37b85e722718c1c9cc7362d34a0a352eb2296b8.tar.xz
gnupg2-b37b85e722718c1c9cc7362d34a0a352eb2296b8.zip
Make use of the card's extended capabilities.
Diffstat (limited to 'g10/call-agent.h')
-rw-r--r--g10/call-agent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h
index 6d46f5491..31985d6ee 100644
--- a/g10/call-agent.h
+++ b/g10/call-agent.h
@@ -57,6 +57,10 @@ struct agent_card_info_s
int algo; /* Algorithm identifier. */
unsigned int nbits; /* Supported keysize. */
} key_attr[3];
+ struct {
+ unsigned int ki:1; /* Key import available. */
+ unsigned int aac:1; /* Algorithm attributes are changeable. */
+ } extcap;
};
struct agent_card_genkey_s {