summaryrefslogtreecommitdiff
path: root/ckcapi-token.c
diff options
context:
space:
mode:
Diffstat (limited to 'ckcapi-token.c')
-rw-r--r--ckcapi-token.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/ckcapi-token.c b/ckcapi-token.c
index c0a6977..acebd16 100644
--- a/ckcapi-token.c
+++ b/ckcapi-token.c
@@ -35,13 +35,14 @@ SlotInfo;
#define SLOT_OFFSET 0x00001000
static const SlotInfo slot_info[] = {
- { "My", "Personal Certificates", CKCAPI_SLOT_TRUSTED },
- { "AddressBook", "Address Book Certificates", 0 },
- { "CA", "Certificate Authorities", CKCAPI_SLOT_CA },
- { "Root", "Root Authorities", CKCAPI_SLOT_TRUSTED | CKCAPI_SLOT_CA },
- { "Trust", "Trust", 0 },
- { "TrustedPeople", "Trusted People", CKCAPI_SLOT_TRUSTED },
- { "AuthRoot", "Auth Root", 0 },
+ { "My", "Personal Certificates", CKCAPI_SLOT_TRUSTED | CKCAPI_SLOT_CERTS },
+ { "AddressBook", "Address Book Certificates", CKCAPI_SLOT_CERTS },
+ { "CA", "Certificate Authorities", CKCAPI_SLOT_CA | CKCAPI_SLOT_CERTS},
+ { "Root", "Root Authorities", CKCAPI_SLOT_TRUSTED | CKCAPI_SLOT_CA | CKCAPI_SLOT_CERTS},
+ { "Trust", "Trust", CKCAPI_SLOT_CERTS },
+ { "TrustedPeople", "Trusted People", CKCAPI_SLOT_TRUSTED | CKCAPI_SLOT_CERTS },
+ { "AuthRoot", "Auth Root", CKCAPI_SLOT_CERTS },
+ { "", "All User Keys", CKCAPI_SLOT_ANYKEY }
};
#define SLOT_TO_OFFSET(slot) \