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 470 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
 
   uint8_t   nonce [CTAP_AES_CCM_NONCE_SIZE]
 CTAP AES CCM nonce.
 
}; 
 
bool has_nonce
 Indicate if nonce or cred_id

 

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