CertUsage Property
Text description of UsageFlags .
Syntax
ANSI (Cross Platform) char* GetCertUsage();
int SetCertUsage(const char* lpszCertUsage); Unicode (Windows) LPWSTR GetCertUsage();
INT SetCertUsage(LPCWSTR lpszCertUsage);
#define PID_CERTMGR_CERTUSAGE 21 IPWORKSBT_EXTERNAL void* IPWORKSBT_CALL IPWorksBT_CertMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSBT_EXTERNAL int IPWORKSBT_CALL IPWorksBT_CertMgr_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Text description of CertUsageFlags.
The value will be of one or more of the following strings, separated by commas:
- Digital Signatures
- Key Authentication
- Key Encryption
- Data Encryption
- Key Agreement
- Certificate Signing
- Key Signing
If the provider is OpenSSL, the value is a comma separated list of X509 certificate extension names.
Data Type
String