KeyUsageFlags Property
Flags that show the intended use for the key.
Syntax
ANSI (Cross Platform) int GetKeyUsageFlags(); Unicode (Windows) INT GetKeyUsageFlags();
@property (nonatomic,readonly,assign,getter=keyUsageFlags) int keyUsageFlags; - (int)keyUsageFlags;
#define PID_KEYMGR_KEYUSAGEFLAGS 16 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_KeyMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
47
Remarks
Flags that show the intended use for the key. The default value is 0x0F. The value of KeyUsageFlags is a combination of the following flags:
0x01 | This key may be used to certify other keys. |
0x02 | This key may be used to sign data. |
0x0C | This key may be used to encrypt communications and encrypt storage. |
0x10 | The private component of this key may have been split by a secret-sharing mechanism. |
0x20 | This key may be used for authentication. |
0x80 | The private component of this key may be in the possession of more than one person. |
Please refer to the KeyUsage property for a text representation of KeyUsageFlags.
This property is read-only and not available at design time.
Data Type
Integer