IPWorks Encrypt 2020 iOS Edition

Questions / Feedback?

HMACAlgorithm (property)

The HMAC algorithm to use during encryption.

Syntax

@property (nonatomic,readwrite,assign,getter=HMACAlgorithm,setter=setHMACAlgorithm:) int HMACAlgorithm;
- (int)HMACAlgorithm;
- (void)setHMACAlgorithm:(int)newHMACAlgorithm;

/* Possible Values */
IES_HMACSHA1(0),
IES_HMACSHA224(1),
IES_HMACSHA256(2),
IES_HMACSHA384(3),
IES_HMACSHA512(4),
IES_HMACRIPEMD160(5)
public var HMACAlgorithm: EccHMACAlgorithms {
  get {...}
set {...} }
public enum EccHMACAlgorithms : Int32 { case iesHMACSHA1 = 0 case iesHMACSHA224 = 1 case iesHMACSHA256 = 2 case iesHMACSHA384 = 3 case iesHMACSHA512 = 4 case iesHMACRIPEMD160 = 5 }

Default Value

2

Remarks

This property specifies the HMAC algorithm to use when encrypting. The HMAC algorithm is used when Encrypt and Decrypt are called to protect and verify data. Possible values are:

  • 0 (iesHMACSHA1)
  • 1 (iesHMACSHA224)
  • 2 (iesHMACSHA256 - Default)
  • 3 (iesHMACSHA384)
  • 4 (iesHMACSHA512)
  • 5 (iesHMACRIPEMD160)

This property is only applicable when calling Encrypt or Decrypt.

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