Skip to content

Commit ab32458

Browse files
committed
man: document fido_cred_append_type
1 parent 425299d commit ab32458

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

man/CMakeLists.txt

+2-1
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

+7
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,11 @@ 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+
Unlike
398+
.Fn fido_cred_set_type ,
399+
.Fn fido_cred_append_type
400+
may be called repeatedly to request multiple different types.
401+
.Pp
395402
Use of the
396403
.Nm
397404
set of functions may happen in two distinct situations:

0 commit comments

Comments
 (0)