EMProtectorHotpSettings
@interface EMProtectorHotpSettings : NSObject
Event-base OTP settings. To use this object default settings could be done by directly initializing it.
- - Since: 5.3
-
The HOTP length. Allowed range is 6-10 digits. @exception NSInvalidArgumentException When hotpLength is not in allowed range.
Declaration
Objective-C
@property (nonatomic) NSInteger length;
Swift
var length: Int { get set }
-
The hash algorithm for HOTP. HOTP only supports EMFastTrackOathHashAlgorithmSHA1 and EMOathHashSHA256. See EMFastTrackOathHashAlgorithm. @exception NSInvalidArgumentException When hash algorithm is not supported.
Declaration
Objective-C
@property (nonatomic) EMFastTrackOathHashAlgorithm hashAlgorithm;
Swift
var hashAlgorithm: EMFastTrackOathHashAlgorithm { get set }