CEMCertUsage Property

This property defines which usages are applicable to the certificate.

Syntax

ANSI (Cross Platform)
int GetCEMCertUsage(int iCEMIndex);
int SetCEMCertUsage(int iCEMIndex, int iCEMCertUsage); Unicode (Windows) INT GetCEMCertUsage(INT iCEMIndex);
INT SetCEMCertUsage(INT iCEMIndex, INT iCEMCertUsage);
- (int)CEMCertUsage:(int)cEMIndex;
- (void)setCEMCertUsage:(int)cEMIndex:(int)newCEMCertUsage;
#define PID_AS2RECEIVER_CEMCERTUSAGE 18

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2Receiver_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Receiver_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Receiver_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

15

Remarks

This property defines which usages are applicable to the certificate. This may be set to a binary 'OR' of one or more of the following values:

  • 1 (TLS Client)
  • 2 (TLS Server)
  • 4 (Encryption)
  • 8 (Signature)
The default value is "15", meaning all usages are allowed.

The CEMIndex parameter specifies the index of the item in the array. The size of the array is controlled by the CEMCount property.

This property is not available at design time.

Data Type

Integer

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