API C/C++
HSM Dinamo
Loading...
Looking for...
No entries found
Structure Reference OATH_SA_v1

#include "dinamo.h"

Data Fields

BYTE type
 
BYTE key_len
 
BYTE key[MAX_OATH_HMAC_LEN]
 
BYTE truncation_offset
 

Detailed description

Standard OTP token definition structure OATH event (HOTP).

Examples
user_otp.c.

Fields

type

BYTE type

At the moment this value should be as defined in the table.

Value Meaning
OATH_SA_v1_type_SHA1 Set the type to SHA1.
Examples
user_otp.c.

key_len

BYTE key_len

Size of the key (seed) of the OTP token, used in key.

Examples
user_otp.c.

key

Key(seed) used to define the standard OTP OATH. The key size must be specified in key_len.

Examples
user_otp.c.

truncation_offset

BYTE truncation_offset

The following amount is supported:

Value Meaning
OATH_SA_v1_HOTP_DYN_TRUNC_OFF Defines the "truncation" algorithm as dynamic.
Examples
user_otp.c.

The documentation for this structure was generated from the following file: