Listing Key Attributes
Command to list key attribute.
The listAttributes
command displays a list of available attributes and their IDs.
In the User Management utility, open a command prompt and run listAttributes
command to display a list of available attributes and their IDs.
Syntax
listAttributes
Example
cloudmgmt>listAttributes
Following are the possible attribute values for getAttributes:
OBJ_ATTR_CLASS = 0
OBJ_ATTR_TOKEN = 1
OBJ_ATTR_PRIVATE = 2
OBJ_ATTR_LABEL = 3
OBJ_ATTR_TRUSTED = 134
OBJ_ATTR_KEY_TYPE = 256
OBJ_ATTR_ID = 258
OBJ_ATTR_SENSITIVE = 259
OBJ_ATTR_ENCRYPT = 260
OBJ_ATTR_DECRYPT = 261
OBJ_ATTR_WRAP = 262
OBJ_ATTR_UNWRAP = 263
OBJ_ATTR_SIGN = 264
OBJ_ATTR_VERIFY = 266
OBJ_ATTR_DERIVE = 268
OBJ_ATTR_LOCAL = 355
OBJ_ATTR_MODULUS = 288
OBJ_ATTR_MODULUS_BITS = 289
OBJ_ATTR_PUBLIC_EXPONENT = 290
OBJ_ATTR_VALUE_LEN = 353
OBJ_ATTR_EXTRACTABLE = 354
OBJ_ATTR_NEVER_EXTRACTABLE = 356
OBJ_ATTR_ALWAYS_SENSITIVE = 357
OBJ_ATTR_KEY_GEN_MECH = 358
OBJ_ATTR_MODIFIABLE = 368
OBJ_ATTR_DESTROYABLE = 370
OBJ_ATTR_KCV = 371
OBJ_ATTR_WRAP_WITH_TRUSTED = 528
OBJ_ATTR_EKCV = 4099
OBJ_ATTR_WRAP_TEMPLATE = 1073742353
OBJ_ATTR_UNWRAP_TEMPLATE = 1073742354
OBJ_ATTR_M_VALUE = 4026531853
OBJ_ATTR_USE_KEY_MVALUE = 4026531855
OBJ_ATTR_PRIME = 304
OBJ_ATTR_SUBPRIME = 305
OBJ_ATTR_BASE = 306
OBJ_ATTR_MANAGE_KEY_USE_KEY_MVALUE = 4026531856
OBJ_ATTR_SPLITTABLE = 2147483650
OBJ_ATTR_IS_SPLIT = 2147483651
OBJ_ATTR_AUTH_FACTOR = 2147483652
OBJ_ATTR_CMAC_KCV = 2147483653
OBJ_ATTR_ALWAYS_AUTHENTICATE = 514
OBJ_ATTR_SECURE_MACHINE_ONLY = 268435957
OBJ_ATTR_SIGN_RECOVER = 265
OBJ_ATTR_VERIFY_RECOVER = 267
OBJ_EXT_ATTR1 = 4096
OBJ_ATTR_ALL = 512