IPWorks Encrypt 2020 iOS Edition

Questions / Feedback?

headerParamDataType (property)

The data type of the header parameter.

Syntax

- (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)
public func headerParamDataType(headerParamIndex: Int32) throws -> JwsHeaderParamDataTypes
public func setHeaderParamDataType(headerParamIndex: Int32, newHeaderParamDataType: JwsHeaderParamDataTypes) throws -> Void
public enum JwsHeaderParamDataTypes : Int32 { case dtObject = 0 case dtArray = 1 case dtString = 2 case dtNumber = 3 case dtBool = 4 case dtNull = 5 }

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.

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