HID APPROVE SDK  5.14
HID Approve SDK for Windows .NET
HIDIA.Transaction.OTP.TOTPParameters Class Reference

Defines the TOTP algorithm parameters. More...

Inheritance diagram for HIDIA.Transaction.OTP.TOTPParameters:
HIDIA.Transaction.OTP.AlgorithmParameters

Properties

long Clock [get, set]
 the clock value. More...
 
int CodeDigits = 0 [get, set]
 number of truncated digits (excluding the checksum digit). More...
 
string MACAlgo = 0 [get, set]
 the MAC algorithm value. More...
 
long StartTime = 0 [get, set]
 the start time used for clock synchronization. More...
 
long TimeStep = 0 [get, set]
 the time step. More...
 
int TruncationOffset = false [get, set]
 Offset used for truncation. Expected range is 0 - HashLength-5 (0-15 for HMAC-SHA-1), otherwise dynamic truncation is applied. More...
 
bool UseChecksum = 0 [get, set]
 Determines if a checksum digit is added to the calculation. More...
 
- Properties inherited from HIDIA.Transaction.OTP.AlgorithmParameters
HashSet< string > Modes [get, set]
 Usage modes associated to that algorithm. More...
 
int StandardVersion [get, set]
 The version of the algorithm. More...
 

Detailed Description

Defines the TOTP algorithm parameters.

Property Documentation

◆ Clock

long HIDIA.Transaction.OTP.TOTPParameters.Clock
getset

the clock value.

◆ CodeDigits

int HIDIA.Transaction.OTP.TOTPParameters.CodeDigits = 0
getset

number of truncated digits (excluding the checksum digit).

◆ MACAlgo

string HIDIA.Transaction.OTP.TOTPParameters.MACAlgo = 0
getset

the MAC algorithm value.

◆ StartTime

long HIDIA.Transaction.OTP.TOTPParameters.StartTime = 0
getset

the start time used for clock synchronization.

◆ TimeStep

long HIDIA.Transaction.OTP.TOTPParameters.TimeStep = 0
getset

the time step.

◆ TruncationOffset

int HIDIA.Transaction.OTP.TOTPParameters.TruncationOffset = false
getset

Offset used for truncation. Expected range is 0 - HashLength-5 (0-15 for HMAC-SHA-1), otherwise dynamic truncation is applied.

◆ UseChecksum

bool HIDIA.Transaction.OTP.TOTPParameters.UseChecksum = 0
getset

Determines if a checksum digit is added to the calculation.