ctap_resident_key Struct Reference

CTAP resident key struct. More...

Detailed Description

CTAP resident key struct.

A resident key is a fido2 credential that is being stored on the authenticator.

Definition at line 486 of file ctap.h.

#include <ctap.h>

Data Fields

uint8_t rp_id_hash [SHA256_DIGEST_LENGTH]
 hash of rp domain string
 
uint8_t user_id [CTAP_USER_ID_MAX_SIZE]
 id of user
 
uint8_t user_id_len
 length of the user id
 
uint8_t priv_key [CTAP_CRYPTO_KEY_SIZE]
 private key
 
uint16_t id
 internal id of key
 
uint32_t sign_count
 signature counter. More...
 
ctap_cred_desc_t cred_desc
 credential descriptor
 

Field Documentation

◆ sign_count

uint32_t ctap_resident_key::sign_count

signature counter.

See webauthn specification (version 20190304) section 6.1.1 for details.

Definition at line 492 of file ctap.h.


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