IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

HeaderParamDataType Property

The data type of the header parameter.

Syntax

ANSI (Cross Platform)
int GetHeaderParamDataType(int iHeaderParamIndex);
int SetHeaderParamDataType(int iHeaderParamIndex, int iHeaderParamDataType); Unicode (Windows) INT GetHeaderParamDataType(INT iHeaderParamIndex);
INT SetHeaderParamDataType(INT iHeaderParamIndex, INT iHeaderParamDataType);

Possible Values

DT_OBJECT(0), 
DT_ARRAY(1),
DT_STRING(2),
DT_NUMBER(3),
DT_BOOL(4),
DT_NULL(5)
- (int)headerParamDataType:(int)headerParamIndex;
- (void)setHeaderParamDataType:(int)headerParamIndex:(int)newHeaderParamDataType;

Possible Values

DT_OBJECT(0), 
DT_ARRAY(1),
DT_STRING(2),
DT_NUMBER(3),
DT_BOOL(4),
DT_NULL(5)
#define PID_JWS_HEADERPARAMDATATYPE 8

IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_JWS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_JWS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_JWS_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

2

Remarks

The data type of the header parameter.

This property specifies the JSON type of the header parameter value. Possible values are:

  • 0 (Object)
  • 1 (Array)
  • 2 (String)
  • 3 (Number)
  • 4 (Bool)
  • 5 (Null)

The HeaderParamIndex parameter specifies the index of the item in the array. The size of the array is controlled by the HeaderParamCount property.

This property is not available at design time.

Data Type

Integer

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