OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

pkcs11 message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Proposal: Define CKA_CERTIFICATE_CATEGORY constants


Added descriptions as requested. Hopefully this is now final and ready
for vote and inclusion in v2.40.

Cheers,

Stef


9.4  Object types

*** New item to be added
|   o CK_CERTIFICATE_CATEGORY
|
|   CK_CERTIFICATE_CATEGORY is a value that identifies a certificate
|   category. It is defined as follows:
|
|       typedef CK_ULONG CK_CERTIFICATE_CATEGORY;
|
|   For this version of Cryptoki, the following certificate categories
|   are defined:
|
| |-------------------------------------------------------------------|
| | Constant                              |Value| Meaning             |
| |-------------------------------------------------------------------|
| | CKV_CERTIFICATE_CATEGORY_UNSPECIFIED  | 0UL | No category         |
| |                                       |     | specified           |
| | CKV_CERTIFICATE_CATEGORY_TOKEN_USER   | 1UL | Certificate belongs |
| |                                       |     | to owner of the     |
| |                                       |     | token               |
| | CKV_CERTIFICATE_CATEGORY_AUTHORITY    | 2UL | Certificate belongs |
| |                                       |     | to a certificate    |
| |                                       |     | authority           |
| | CKV_CERTIFICATE_CATEGORY_OTHER_ENTITY | 3UL | Certificate belongs |
| |                                       |     | to a an end entity  |
| |                                       |     | (ie: not a CA)      |
| |-------------------------------------------------------------------|


10.6.2  Overview

*** table row to be updated
|   CKA_CERTIFICATE_CATEGORY  CK_CERTIFICATE_CATEGORY  Categorization of
|                                                      the certificate.
|                         (default CKV_CERTIFICATE_CATEGORY_UNSPECIFIED)


A  Manifest Constants

*** Lines to be added
| #define CKV_CERTIFICATE_CATEGORY_UNSPECIFIED            0UL
| #define CKV_CERTIFICATE_CATEGORY_TOKEN_USER             1UL
| #define CKV_CERTIFICATE_CATEGORY_AUTHORITY              2UL
| #define CKV_CERTIFICATE_CATEGORY_OTHER_ENTITY           3UL



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]