Skip to content

Commit

Permalink
man: document fido_cred_append_type
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed Dec 4, 2024
1 parent 9930551 commit 60bb905
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion man/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,9 @@ list(APPEND MAN_ALIAS
fido_credman_metadata_new fido_credman_rp_name
fido_credman_metadata_new fido_credman_rp_new
fido_credman_metadata_new fido_credman_set_dev_rk
fido_cred_set_authdata fido_cred_set_attstmt
fido_cred_set_authdata fido_cred_append_type
fido_cred_set_authdata fido_cred_set_attobj
fido_cred_set_authdata fido_cred_set_attstmt
fido_cred_set_authdata fido_cred_set_authdata_raw
fido_cred_set_authdata fido_cred_set_blob
fido_cred_set_authdata fido_cred_set_clientdata
Expand Down
7 changes: 7 additions & 0 deletions man/fido_cred_set_authdata.3
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ typedef enum {
.Fn fido_cred_set_fmt "fido_cred_t *cred" "const char *ptr"
.Ft int
.Fn fido_cred_set_type "fido_cred_t *cred" "int cose_alg"
.Ft int
.Fn fido_cred_append_type "fido_cred_t *cred" "int cose_alg"
.Sh DESCRIPTION
The
.Nm
Expand Down Expand Up @@ -392,6 +394,11 @@ The type of a credential may only be set once.
Note that not all authenticators support COSE_RS256, COSE_ES384, or
COSE_EDDSA.
.Pp
Unlike
.Fn fido_cred_set_type ,
.Fn fido_cred_append_type
may be called repeatedly to request multiple different types.
.Pp
Use of the
.Nm
set of functions may happen in two distinct situations:
Expand Down

0 comments on commit 60bb905

Please sign in to comment.