Skip to content

Commit ed45284

Browse files
committed
man: document fido_cred_append_type
1 parent 2e7a420 commit ed45284

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

man/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,9 @@ list(APPEND MAN_ALIAS
211211
fido_credman_metadata_new fido_credman_rp_name
212212
fido_credman_metadata_new fido_credman_rp_new
213213
fido_credman_metadata_new fido_credman_set_dev_rk
214-
fido_cred_set_authdata fido_cred_set_attstmt
214+
fido_cred_set_authdata fido_cred_append_type
215215
fido_cred_set_authdata fido_cred_set_attobj
216+
fido_cred_set_authdata fido_cred_set_attstmt
216217
fido_cred_set_authdata fido_cred_set_authdata_raw
217218
fido_cred_set_authdata fido_cred_set_blob
218219
fido_cred_set_authdata fido_cred_set_clientdata

man/fido_cred_set_authdata.3

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ typedef enum {
9999
.Fn fido_cred_set_fmt "fido_cred_t *cred" "const char *ptr"
100100
.Ft int
101101
.Fn fido_cred_set_type "fido_cred_t *cred" "int cose_alg"
102+
.Ft int
103+
.Fn fido_cred_append_type "fido_cred_t *cred" "int cose_alg"
102104
.Sh DESCRIPTION
103105
The
104106
.Nm
@@ -392,6 +394,13 @@ The type of a credential may only be set once.
392394
Note that not all authenticators support COSE_RS256, COSE_ES384, or
393395
COSE_EDDSA.
394396
.Pp
397+
The
398+
.Fn fido_cred_append_type
399+
function is the same as
400+
.Fn fido_cred_set_type
401+
but can be called repeatedly to request one of multiple types, in order
402+
of preference.
403+
.Pp
395404
Use of the
396405
.Nm
397406
set of functions may happen in two distinct situations:

0 commit comments

Comments
 (0)