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

Defines the HOTP algorithm parameters. More...

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

Properties

int CodeDigits = 0 [get, set]
 number of truncated digits (excluding the checksum digit). More...
 
long Counter [get, set]
 the counter value. More...
 
string MACAlgo = 0 [get, set]
 the MAC algorithm value. 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 HOTP algorithm parameters.

Property Documentation

◆ CodeDigits

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

number of truncated digits (excluding the checksum digit).

◆ Counter

long HIDIA.Transaction.OTP.HOTPParameters.Counter
getset

the counter value.

◆ MACAlgo

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

the MAC algorithm value.

◆ TruncationOffset

int HIDIA.Transaction.OTP.HOTPParameters.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.HOTPParameters.UseCheckSum = 0
getset

Determines if a checksum digit is added to the calculation.