IPWorks S/MIME 2020 C++ Edition

Questions / Feedback?

CertUsageFlags Property

Flags that show intended use for the certificate.


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;

IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_CertMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_CertMgr_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value



Flags that show intended use for the certificate. The value of CertUsageFlags is a combination of the following flags:

0x80Digital Signatures
0x40Key Authentication
0x20Key Encryption
0x10Data Encryption
0x08Key Agreement
0x04Certificate Signing
0x02Key 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


Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 C++ Edition - Version 20.0 [Build 8161]