CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
cdc::mod_2fa::OathEntry Struct Reference

Unified OATH credential record (TOTP, HOTP, and reserved CR). More...

#include <OathStore.h>

Public Attributes

uint8_t type
 OathType discriminator.
char name [16+1]
 Account label.
char issuer [32+1]
 Optional issuer text.
uint8_t secret [64]
 Raw HMAC key.
uint8_t secretLen
 Valid bytes in secret.
uint8_t algorithm
 OathAlgorithm value.
uint8_t digits
 Output digit count (TOTP/HOTP).
uint32_t period
 TOTP step in seconds (TOTP only).
uint64_t counter
 Moving factor (HOTP only).
uint8_t flags
 Reserved entry flags.

Detailed Description

Unified OATH credential record (TOTP, HOTP, and reserved CR).

Definition at line 42 of file OathStore.h.

Member Data Documentation

◆ algorithm

◆ counter

◆ digits

◆ flags

◆ issuer

◆ name

◆ period

◆ secret

◆ secretLen

◆ type


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