Loading...
Searching...
No Matches
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 497 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.
 
ctap_cred_desc_t cred_desc
 credential descriptor
 

Field Documentation

◆ cred_desc

ctap_cred_desc_t ctap_resident_key::cred_desc

credential descriptor

Definition at line 507 of file ctap.h.

◆ id

uint16_t ctap_resident_key::id

internal id of key

Definition at line 502 of file ctap.h.

◆ priv_key

uint8_t ctap_resident_key::priv_key[CTAP_CRYPTO_KEY_SIZE]

private key

Definition at line 501 of file ctap.h.

◆ rp_id_hash

uint8_t ctap_resident_key::rp_id_hash[SHA256_DIGEST_LENGTH]

hash of rp domain string

Definition at line 498 of file ctap.h.

◆ 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 503 of file ctap.h.

◆ user_id

uint8_t ctap_resident_key::user_id[CTAP_USER_ID_MAX_SIZE]

id of user

Definition at line 499 of file ctap.h.

◆ user_id_len

uint8_t ctap_resident_key::user_id_len

length of the user id

Definition at line 500 of file ctap.h.


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