HashAlgorithm Property

The HMAC Hash Algorithm.

Syntax

ANSI (Cross Platform)
int GetHashAlgorithm();
int SetHashAlgorithm(int iHashAlgorithm); Unicode (Windows) INT GetHashAlgorithm();
INT SetHashAlgorithm(INT iHashAlgorithm);

Possible Values

HA_SHA1(0), 
HA_SHA256(1),
HA_SHA512(2)
@property (nonatomic,readwrite,assign,getter=hashAlgorithm,setter=setHashAlgorithm:) int hashAlgorithm;
- (int)hashAlgorithm;
- (void)setHashAlgorithm:(int)newHashAlgorithm;

Possible Values

HA_SHA1(0), 
HA_SHA256(1),
HA_SHA512(2)
#define PID_OCRA_HASHALGORITHM 7

IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_OCRA_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_OCRA_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

This property specifies the hash algorithm used by the class. Possible values are:

  • 0 (SHA-1 - default)
  • 1 (SHA-256)
  • 2 (SHA-512)

Data Type

Integer

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