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);
@property (nonatomic,readwrite,assign,getter=certUsage,setter=setCertUsage:) NSString* certUsage; - (NSString*)certUsage; - (void)setCertUsage:(NSString*)newCertUsage;
#define PID_CERTMGR_CERTUSAGE 21 IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_CertMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_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