Loading...
Searching...
No Matches
ctap_cred_desc Struct Reference

CTAP credential description struct. More...

Detailed Description

CTAP credential description struct.

Webauthn specification (version 20190304) section 5.8.3

Warning
reordering this struct will break the AES CCM encryption of resident keys.

Definition at line 481 of file ctap.h.

#include <ctap.h>

Data Fields

uint8_t cred_type
 type of credential
 
union { 
 
   uint8_t   cred_id [CTAP_CREDENTIAL_ID_SIZE
 credential identifier More...
 
   uint8_t   nonce [CTAP_AES_CCM_NONCE_SIZE
 CTAP AES CCM nonce. More...
 
};  
 
bool has_nonce
 Indicate if nonce or cred_id

 

Field Documentation

◆ cred_id

uint8_t ctap_cred_desc::cred_id[CTAP_CREDENTIAL_ID_SIZE]

credential identifier

Definition at line 484 of file ctap.h.

◆ cred_type

uint8_t ctap_cred_desc::cred_type

type of credential

Definition at line 482 of file ctap.h.

◆ has_nonce

bool ctap_cred_desc::has_nonce

Indicate if nonce or cred_id

Definition at line 487 of file ctap.h.

◆ nonce

uint8_t ctap_cred_desc::nonce[CTAP_AES_CCM_NONCE_SIZE]

CTAP AES CCM nonce.

Definition at line 485 of file ctap.h.


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