summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/X509_NAME_new.3
diff options
context:
space:
mode:
authorschwarze <>2016-12-25 22:15:10 +0000
committerschwarze <>2016-12-25 22:15:10 +0000
commit899a1058abcbe6fe59592ed5d46cc4b55cf12326 (patch)
tree90a8fcb1d550495e918efcdbf187d897e1c021f7 /src/lib/libcrypto/man/X509_NAME_new.3
parent5667f2b73d8867280a0e2b3dd1d8068478634723 (diff)
downloadopenbsd-899a1058abcbe6fe59592ed5d46cc4b55cf12326.tar.gz
openbsd-899a1058abcbe6fe59592ed5d46cc4b55cf12326.tar.bz2
openbsd-899a1058abcbe6fe59592ed5d46cc4b55cf12326.zip
Consistently mark up various ASN.1 type names defined in standards
related to X.509 with .Vt such that they can be searched for.
Diffstat (limited to 'src/lib/libcrypto/man/X509_NAME_new.3')
-rw-r--r--src/lib/libcrypto/man/X509_NAME_new.317
1 files changed, 11 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/X509_NAME_new.3 b/src/lib/libcrypto/man/X509_NAME_new.3
index 5666635198..c4efab7784 100644
--- a/src/lib/libcrypto/man/X509_NAME_new.3
+++ b/src/lib/libcrypto/man/X509_NAME_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_NAME_new.3,v 1.2 2016/12/24 01:29:40 schwarze Exp $ 1.\" $OpenBSD: X509_NAME_new.3,v 1.3 2016/12/25 22:15:10 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> 3.\" Copyright (c) 2016 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: December 24 2016 $ 17.Dd $Mdocdate: December 25 2016 $
18.Dt X509_NAME_NEW 3 18.Dt X509_NAME_NEW 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -31,12 +31,16 @@
31.Ft void 31.Ft void
32.Fn X509_NAME_free "X509_NAME *name" 32.Fn X509_NAME_free "X509_NAME *name"
33.Sh DESCRIPTION 33.Sh DESCRIPTION
34An X.501 Name is an ordered sequence of relative distinguished names. 34An X.501
35.Vt Name
36is an ordered sequence of relative distinguished names.
35A relative distinguished name is a set of key-value pairs; see 37A relative distinguished name is a set of key-value pairs; see
36.Xr X509_NAME_ENTRY_new 3 38.Xr X509_NAME_ENTRY_new 3
37for details. 39for details.
38.Pp 40.Pp
39Various X.509 structures contain X.501 Name substructures. 41Various X.509 structures contain X.501
42.Vt Name
43substructures.
40They are for example used for the issuers of certificates and 44They are for example used for the issuers of certificates and
41certificate revocation lists and for the subjects of certificates 45certificate revocation lists and for the subjects of certificates
42and certificate requests. 46and certificate requests.
@@ -44,8 +48,9 @@ and certificate requests.
44.Fn X509_NAME_new 48.Fn X509_NAME_new
45allocates and initializes an empty 49allocates and initializes an empty
46.Vt X509_NAME 50.Vt X509_NAME
47object, representing an ASN.1 Name structure 51object, representing an ASN.1
48defined in RFC 5280 section 4.1.2.4. 52.Vt Name
53structure defined in RFC 5280 section 4.1.2.4.
49Data can be added to such objects with the functions described in 54Data can be added to such objects with the functions described in
50.Xr X509_NAME_add_entry_by_txt 3 , 55.Xr X509_NAME_add_entry_by_txt 3 ,
51and they can be inspected with the functions described in 56and they can be inspected with the functions described in