diff options
Diffstat (limited to 'src/lib/libcrypto/man')
| -rw-r--r-- | src/lib/libcrypto/man/CMS_signed_add1_attr.3 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/libcrypto/man/CMS_signed_add1_attr.3 b/src/lib/libcrypto/man/CMS_signed_add1_attr.3 index 94e4f4d2ab..1a50c0b9d1 100644 --- a/src/lib/libcrypto/man/CMS_signed_add1_attr.3 +++ b/src/lib/libcrypto/man/CMS_signed_add1_attr.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: CMS_signed_add1_attr.3,v 1.4 2024/09/02 07:43:07 tb Exp $ | 1 | .\" $OpenBSD: CMS_signed_add1_attr.3,v 1.5 2024/09/02 07:54:21 tb Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2024 Job Snijders <job@openbsd.org> | 3 | .\" Copyright (c) 2024 Job Snijders <job@openbsd.org> |
| 4 | .\" Copyright (c) 2024 Theo Buehler <tb@openbsd.org> | 4 | .\" Copyright (c) 2024 Theo Buehler <tb@openbsd.org> |
| @@ -81,7 +81,7 @@ | |||
| 81 | .Fo CMS_signed_get0_data_by_OBJ | 81 | .Fo CMS_signed_get0_data_by_OBJ |
| 82 | .Fa "CMS_SignerInfo *si" | 82 | .Fa "CMS_SignerInfo *si" |
| 83 | .Fa "const ASN1_OBJECT *oid" | 83 | .Fa "const ASN1_OBJECT *oid" |
| 84 | .Fa "int lastpos" | 84 | .Fa "int start_after" |
| 85 | .Fa "int type" | 85 | .Fa "int type" |
| 86 | .Fc | 86 | .Fc |
| 87 | .Ft "X509_ATTRIBUTE *" | 87 | .Ft "X509_ATTRIBUTE *" |
| @@ -93,13 +93,13 @@ | |||
| 93 | .Fo CMS_signed_get_attr_by_NID | 93 | .Fo CMS_signed_get_attr_by_NID |
| 94 | .Fa "const CMS_SignerInfo *si" | 94 | .Fa "const CMS_SignerInfo *si" |
| 95 | .Fa "int nid" | 95 | .Fa "int nid" |
| 96 | .Fa "int lastpos" | 96 | .Fa "int start_after" |
| 97 | .Fc | 97 | .Fc |
| 98 | .Ft int | 98 | .Ft int |
| 99 | .Fo CMS_signed_get_attr_by_OBJ | 99 | .Fo CMS_signed_get_attr_by_OBJ |
| 100 | .Fa "const CMS_SignerInfo *si" | 100 | .Fa "const CMS_SignerInfo *si" |
| 101 | .Fa "const ASN1_OBJECT *obj" | 101 | .Fa "const ASN1_OBJECT *obj" |
| 102 | .Fa "int lastpos" | 102 | .Fa "int start_after" |
| 103 | .Fc | 103 | .Fc |
| 104 | .Ft int | 104 | .Ft int |
| 105 | .Fo CMS_signed_get_attr_count | 105 | .Fo CMS_signed_get_attr_count |
| @@ -143,7 +143,7 @@ | |||
| 143 | .Fo CMS_unsigned_get0_data_by_OBJ | 143 | .Fo CMS_unsigned_get0_data_by_OBJ |
| 144 | .Fa "CMS_SignerInfo *si" | 144 | .Fa "CMS_SignerInfo *si" |
| 145 | .Fa "ASN1_OBJECT *oid" | 145 | .Fa "ASN1_OBJECT *oid" |
| 146 | .Fa "int lastpos" | 146 | .Fa "int start_after" |
| 147 | .Fa "int type" | 147 | .Fa "int type" |
| 148 | .Fc | 148 | .Fc |
| 149 | .Ft "X509_ATTRIBUTE *" | 149 | .Ft "X509_ATTRIBUTE *" |
| @@ -155,13 +155,13 @@ | |||
| 155 | .Fo CMS_unsigned_get_attr_by_NID | 155 | .Fo CMS_unsigned_get_attr_by_NID |
| 156 | .Fa "const CMS_SignerInfo *si" | 156 | .Fa "const CMS_SignerInfo *si" |
| 157 | .Fa "int nid" | 157 | .Fa "int nid" |
| 158 | .Fa "int lastpos" | 158 | .Fa "int start_after" |
| 159 | .Fc | 159 | .Fc |
| 160 | .Ft int | 160 | .Ft int |
| 161 | .Fo CMS_unsigned_get_attr_by_OBJ | 161 | .Fo CMS_unsigned_get_attr_by_OBJ |
| 162 | .Fa "const CMS_SignerInfo *si" | 162 | .Fa "const CMS_SignerInfo *si" |
| 163 | .Fa "const ASN1_OBJECT *obj" | 163 | .Fa "const ASN1_OBJECT *obj" |
| 164 | .Fa "int lastpos" | 164 | .Fa "int start_after" |
| 165 | .Fc | 165 | .Fc |
| 166 | .Ft int | 166 | .Ft int |
| 167 | .Fo CMS_unsigned_get_attr_count | 167 | .Fo CMS_unsigned_get_attr_count |
| @@ -230,26 +230,26 @@ of | |||
| 230 | and | 230 | and |
| 231 | .Fn CMS_signed_get_attr_by_OBJ | 231 | .Fn CMS_signed_get_attr_by_OBJ |
| 232 | search the array starting after the index | 232 | search the array starting after the index |
| 233 | .Fa lastpos . | 233 | .Fa start_after . |
| 234 | They fail if no matching object is found. | 234 | They fail if no matching object is found. |
| 235 | .Fn CMS_signed_get0_data_by_OBJ | 235 | .Fn CMS_signed_get0_data_by_OBJ |
| 236 | also fails if the data is not of the requested | 236 | also fails if the data is not of the requested |
| 237 | .Fa type . | 237 | .Fa type . |
| 238 | .Pp | 238 | .Pp |
| 239 | Additionally, the | 239 | Additionally, the |
| 240 | .Fa lastpos | 240 | .Fa start_after |
| 241 | argument of | 241 | argument of |
| 242 | .Fn CMS_signed_get0_data_by_OBJ | 242 | .Fn CMS_signed_get0_data_by_OBJ |
| 243 | is interpreted in a special way. | 243 | is interpreted in a special way. |
| 244 | If | 244 | If |
| 245 | .Fa lastpos | 245 | .Fa start_after |
| 246 | is \-2 or smaller, the function also fails if the | 246 | is \-2 or smaller, the function also fails if the |
| 247 | .Fa signedAttrs | 247 | .Fa signedAttrs |
| 248 | array of | 248 | array of |
| 249 | .Fa si , | 249 | .Fa si , |
| 250 | contains more than one matching object. | 250 | contains more than one matching object. |
| 251 | If | 251 | If |
| 252 | .Fa lastpos | 252 | .Fa start_after |
| 253 | is \-3 or smaller, it also fails unless the matching object contains exactly | 253 | is \-3 or smaller, it also fails unless the matching object contains exactly |
| 254 | one value. | 254 | one value. |
| 255 | .Pp | 255 | .Pp |
| @@ -305,7 +305,7 @@ and | |||
| 305 | .Fn CMS_unsigned_get0_data_by_OBJ | 305 | .Fn CMS_unsigned_get0_data_by_OBJ |
| 306 | return an internal pointer to the data contained in the value of the first | 306 | return an internal pointer to the data contained in the value of the first |
| 307 | object that has an index greater than | 307 | object that has an index greater than |
| 308 | .Fa lastpos | 308 | .Fa start_after |
| 309 | and a type matching | 309 | and a type matching |
| 310 | .Fa type , | 310 | .Fa type , |
| 311 | or NULL on failure. | 311 | or NULL on failure. |
| @@ -321,7 +321,7 @@ return an internal pointer or NULL on failure. | |||
| 321 | and | 321 | and |
| 322 | .Fn CMS_unsigned_get_attr_by_OBJ | 322 | .Fn CMS_unsigned_get_attr_by_OBJ |
| 323 | return the index of the first object in the array that has an index greater than | 323 | return the index of the first object in the array that has an index greater than |
| 324 | .Fa lastpos | 324 | .Fa start_after |
| 325 | and a type matching | 325 | and a type matching |
| 326 | .Fa nid | 326 | .Fa nid |
| 327 | or | 327 | or |
