diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/man/X509_REQ_add1_attr.3 | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/src/lib/libcrypto/man/X509_REQ_add1_attr.3 b/src/lib/libcrypto/man/X509_REQ_add1_attr.3 index 26eb4f144c..78d9d8eccc 100644 --- a/src/lib/libcrypto/man/X509_REQ_add1_attr.3 +++ b/src/lib/libcrypto/man/X509_REQ_add1_attr.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: X509_REQ_add1_attr.3,v 1.2 2021/10/26 18:50:38 jmc Exp $ | 1 | .\" $OpenBSD: X509_REQ_add1_attr.3,v 1.3 2024/09/02 07:55:26 tb Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> |
| 4 | .\" | 4 | .\" |
| @@ -14,7 +14,7 @@ | |||
| 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | .\" | 16 | .\" |
| 17 | .Dd $Mdocdate: October 26 2021 $ | 17 | .Dd $Mdocdate: September 2 2024 $ |
| 18 | .Dt X509_REQ_ADD1_ATTR 3 | 18 | .Dt X509_REQ_ADD1_ATTR 3 |
| 19 | .Os | 19 | .Os |
| 20 | .Sh NAME | 20 | .Sh NAME |
| @@ -91,9 +91,8 @@ with a PKCS#10 certification request. | |||
| 91 | .Pp | 91 | .Pp |
| 92 | .Fn X509_REQ_add1_attr | 92 | .Fn X509_REQ_add1_attr |
| 93 | appends a deep copy of the | 93 | appends a deep copy of the |
| 94 | .Fa attr | 94 | .Fa attr , |
| 95 | using | 95 | allocating a new array if necessary. |
| 96 | .Xr X509at_add1_attr 3 . | ||
| 97 | .Pp | 96 | .Pp |
| 98 | .Fn X509_REQ_add1_attr_by_OBJ , | 97 | .Fn X509_REQ_add1_attr_by_OBJ , |
| 99 | .Fn X509_REQ_add1_attr_by_NID , | 98 | .Fn X509_REQ_add1_attr_by_NID , |
| @@ -104,26 +103,20 @@ create a new X.501 Attribute object using | |||
| 104 | .Xr X509_ATTRIBUTE_create_by_NID 3 , | 103 | .Xr X509_ATTRIBUTE_create_by_NID 3 , |
| 105 | or | 104 | or |
| 106 | .Xr X509_ATTRIBUTE_create_by_txt 3 , | 105 | .Xr X509_ATTRIBUTE_create_by_txt 3 , |
| 107 | respectively, and append it using | 106 | respectively, |
| 108 | .Xr X509at_add1_attr 3 . | 107 | allocating a new array if necessary. |
| 109 | .Pp | 108 | .Pp |
| 110 | .Fn X509_REQ_delete_attr | 109 | .Fn X509_REQ_delete_attr |
| 111 | deletes the attribute with the zero-based | 110 | deletes the attribute with the zero-based |
| 112 | .Fa index | 111 | .Fa index . |
| 113 | using | ||
| 114 | .Xr X509at_delete_attr 3 . | ||
| 115 | .Pp | 112 | .Pp |
| 116 | .Fn X509_REQ_get_attr | 113 | .Fn X509_REQ_get_attr |
| 117 | returns the attribute with the zero-based | 114 | returns the attribute with the zero-based |
| 118 | .Fa index | 115 | .Fa index . |
| 119 | using | ||
| 120 | .Xr X509at_get_attr 3 . | ||
| 121 | .Pp | 116 | .Pp |
| 122 | .Fn X509_REQ_get_attr_count | 117 | .Fn X509_REQ_get_attr_count |
| 123 | returns the number of attributes currently associated with | 118 | returns the number of attributes currently associated with |
| 124 | .Fa req | 119 | .Fa req . |
| 125 | using | ||
| 126 | .Xr X509at_get_attr_count 3 . | ||
| 127 | .Pp | 120 | .Pp |
| 128 | .Fn X509_REQ_get_attr_by_OBJ | 121 | .Fn X509_REQ_get_attr_by_OBJ |
| 129 | and | 122 | and |
| @@ -131,12 +124,7 @@ and | |||
| 131 | search for an attribute of the type | 124 | search for an attribute of the type |
| 132 | .Fa obj | 125 | .Fa obj |
| 133 | or | 126 | or |
| 134 | .Fa nid | 127 | .Fa nid . |
| 135 | using | ||
| 136 | .Xr X509at_get_attr_by_OBJ 3 | ||
| 137 | or | ||
| 138 | .Xr X509at_get_attr_by_NID 3 , | ||
| 139 | respectively. | ||
| 140 | .Sh RETURN VALUES | 128 | .Sh RETURN VALUES |
| 141 | .Fn X509_REQ_add1_attr , | 129 | .Fn X509_REQ_add1_attr , |
| 142 | .Fn X509_REQ_add1_attr_by_OBJ , | 130 | .Fn X509_REQ_add1_attr_by_OBJ , |
