summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2024-09-02 07:55:26 +0000
committertb <>2024-09-02 07:55:26 +0000
commit00f03b3e9e4dd0da57a36b2302d3d5ac44251cf0 (patch)
treed0752d51a33a2ff01dee0828a625ed942904ebc9 /src/lib
parent6d33882f3a53dd7c0b3304eeb2afeab464a1acf6 (diff)
downloadopenbsd-00f03b3e9e4dd0da57a36b2302d3d5ac44251cf0.tar.gz
openbsd-00f03b3e9e4dd0da57a36b2302d3d5ac44251cf0.tar.bz2
openbsd-00f03b3e9e4dd0da57a36b2302d3d5ac44251cf0.zip
Excise X509at_* from X509_REQ_* documentation
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/X509_REQ_add1_attr.332
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
93appends a deep copy of the 93appends a deep copy of the
94.Fa attr 94.Fa attr ,
95using 95allocating 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 ,
105or 104or
106.Xr X509_ATTRIBUTE_create_by_txt 3 , 105.Xr X509_ATTRIBUTE_create_by_txt 3 ,
107respectively, and append it using 106respectively,
108.Xr X509at_add1_attr 3 . 107allocating a new array if necessary.
109.Pp 108.Pp
110.Fn X509_REQ_delete_attr 109.Fn X509_REQ_delete_attr
111deletes the attribute with the zero-based 110deletes the attribute with the zero-based
112.Fa index 111.Fa index .
113using
114.Xr X509at_delete_attr 3 .
115.Pp 112.Pp
116.Fn X509_REQ_get_attr 113.Fn X509_REQ_get_attr
117returns the attribute with the zero-based 114returns the attribute with the zero-based
118.Fa index 115.Fa index .
119using
120.Xr X509at_get_attr 3 .
121.Pp 116.Pp
122.Fn X509_REQ_get_attr_count 117.Fn X509_REQ_get_attr_count
123returns the number of attributes currently associated with 118returns the number of attributes currently associated with
124.Fa req 119.Fa req .
125using
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
129and 122and
@@ -131,12 +124,7 @@ and
131search for an attribute of the type 124search for an attribute of the type
132.Fa obj 125.Fa obj
133or 126or
134.Fa nid 127.Fa nid .
135using
136.Xr X509at_get_attr_by_OBJ 3
137or
138.Xr X509at_get_attr_by_NID 3 ,
139respectively.
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 ,