[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Updated Proposal: Define CKA_CERTIFICATE_CATEGORY constants
Changed to use 'CK_XXXX' instead of 'CKV_' for the constant prefix. This is similar to the new OTP constants and other other odds and ends constants we have. 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 | | |------------------------------------------------------------------| | | CK_CERTIFICATE_CATEGORY_UNSPECIFIED | 0UL | No category | | | | | specified | | | CK_CERTIFICATE_CATEGORY_TOKEN_USER | 1UL | Certificate belongs | | | | | to owner of the | | | | | token | | | CK_CERTIFICATE_CATEGORY_AUTHORITY | 2UL | Certificate belongs | | | | | to a certificate | | | | | authority | | | CK_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 CK_CERTIFICATE_CATEGORY_UNSPECIFIED) A Manifest Constants *** Lines to be added | #define CK_CERTIFICATE_CATEGORY_UNSPECIFIED 0UL | #define CK_CERTIFICATE_CATEGORY_TOKEN_USER 1UL | #define CK_CERTIFICATE_CATEGORY_AUTHORITY 2UL | #define CK_CERTIFICATE_CATEGORY_OTHER_ENTITY 3UL
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]