fido_cred_type
int fido_cred_type(const fido_cred_t *);
user_id_len, j, fido_cred_type(cred),
switch (fido_cred_type(cred)) {
fido_cred_type(cred));