EMProtectorDcvvSettings

@interface EMProtectorDcvvSettings : NSObject

Time-based OTP settings. To use this object default settings could be done by directly initializing it.

  • - Since: 5.3
  • The DCVV length. Allowed range is 3 or 4 digits. @exception NSInvalidArgumentException When the length is not in allowed range.

    Declaration

    Objective-C

    @property (nonatomic) NSInteger length;

    Swift

    var length: Int { get set }
  • The hash algorithm for DCVV.

    Declaration

    Objective-C

    @property (nonatomic) EMFastTrackOathHashAlgorithm hashAlgorithm;

    Swift

    var hashAlgorithm: EMFastTrackOathHashAlgorithm { get set }
  • The T0 value for DCVV. Value to start counting the time steps. Default: 0 @exception NSInvalidArgumentException When the negative value is given.

    Declaration

    Objective-C

    @property (nonatomic) int64_t startTime;

    Swift

    var startTime: Int64 { get set }
  • The time step size for DCVV. Default: 20 minutes.

    Declaration

    Objective-C

    @property (nonatomic) NSInteger timestepSize;

    Swift

    var timestepSize: Int { get set }
  • The time step type for DCVV.

    Declaration

    Objective-C

    @property (nonatomic) EMFastTrackOathTimestepType timestepType;

    Swift

    var timestepType: EMFastTrackOathTimestepType { get set }