SecureBlackbox 2020 iOS Edition

Questions / Feedback?

userHashAlgorithm (property)

Specifies the hash algorithm used to generate TOTP (Time-based One-Time Passwords) passwords for this user.

Syntax

- (NSString*)userHashAlgorithm:(int)userIndex;
- (void)setUserHashAlgorithm:(int)userIndex:(NSString*)newUserHashAlgorithm;
public func userHashAlgorithm(userIndex: Int32) throws -> String
public func setUserHashAlgorithm(userIndex: Int32, newUserHashAlgorithm: String) throws -> Void

Default Value

""

Remarks

Specifies the hash algorithm used to generate TOTP (Time-based One-Time Passwords) passwords for this user. Three HMAC algorithms are supported, with SHA-1, SHA-256, and SHA-512 digests:

SB_MAC_ALGORITHM_HMAC_SHA1SHA1
SB_MAC_ALGORITHM_HMAC_SHA256SHA256
SB_MAC_ALGORITHM_HMAC_SHA512SHA512

The UserIndex parameter specifies the index of the item in the array. The size of the array is controlled by the UserCount property.

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