EMSoftDcvOathSettings

Objective-C

@protocol EMSoftDcvOathSettings <NSObject>

Swift

protocol EMSoftDcvOathSettings : NSObjectProtocol

Protocol for DCV related settings.

Since

4.1
  • Returns the length of an DCV.

    Default: 3

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger dcvLength;

    Swift

    var dcvLength: Int { get }
  • Returns the hash algorithm used in the HMAC computation for DCV.

    Default: EMOathHashSHA1. see EMOathHashAlgorithm.

    Declaration

    Objective-C

    @property (nonatomic, readonly) EMOathHashAlgorithm dcvHashAlgorithm;

    Swift

    var dcvHashAlgorithm: EMOathHashAlgorithm { get }
  • Returns the T0 start time used in the settings.

    Default: 0

    Declaration

    Objective-C

    @property (nonatomic, readonly) int64_t dcvStartTime;

    Swift

    var dcvStartTime: Int64 { get }
  • Returns the time step size used in the settings.

    Default: 20

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger dcvTimestepSize;

    Swift

    var dcvTimestepSize: Int { get }
  • Returns the time step type used in the settings.

    Default: Minutes

    Declaration

    Objective-C

    @property (nonatomic, readonly) EMOathTimestepType dcvTimestepType;

    Swift

    var dcvTimestepType: EMOathTimestepType { get }