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

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_CertMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_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:

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

Integer

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