CertUsageFlags Property
Flags that show intended use for the certificate.
Syntax
ANSI (Cross Platform) int GetCertUsageFlags();
int SetCertUsageFlags(int iCertUsageFlags); Unicode (Windows) INT GetCertUsageFlags();
INT SetCertUsageFlags(INT iCertUsageFlags);
@property (nonatomic,readwrite,assign,getter=certUsageFlags,setter=setCertUsageFlags:) int certUsageFlags; - (int)certUsageFlags; - (void)setCertUsageFlags:(int)newCertUsageFlags;
#define PID_CERTMGR_CERTUSAGEFLAGS 22 IPWORKSSNMP_EXTERNAL void* IPWORKSSNMP_CALL IPWorksSNMP_CertMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSNMP_EXTERNAL int IPWORKSSNMP_CALL IPWorksSNMP_CertMgr_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
Flags that show intended use for the certificate. The value of CertUsageFlags is a combination of the following flags:
0x80 | Digital Signatures |
0x40 | Key Authentication |
0x20 | Key Encryption |
0x10 | Data Encryption |
0x08 | Key Agreement |
0x04 | Certificate Signing |
0x02 | Key Signing |
Please refer to the CertUsage property for a text representation of CertUsageFlags.
This functionality is currently not available when the provider is OpenSSL.
Data Type
Integer