summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2021-12-12 20:16:36 +0000
committerschwarze <>2021-12-12 20:16:36 +0000
commit86d61498c5edcdcb8a62351030ca5fb8c31be39c (patch)
tree181f2d46fbc562606f39f66cdeea6eab29f667c6
parented8937749e0541a8ae920dfc836542152c258b27 (diff)
downloadopenbsd-86d61498c5edcdcb8a62351030ca5fb8c31be39c.tar.gz
openbsd-86d61498c5edcdcb8a62351030ca5fb8c31be39c.tar.bz2
openbsd-86d61498c5edcdcb8a62351030ca5fb8c31be39c.zip
document the ub_* constants
-rw-r--r--src/lib/libcrypto/man/ASN1_STRING_TABLE_add.324
1 files changed, 22 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/ASN1_STRING_TABLE_add.3 b/src/lib/libcrypto/man/ASN1_STRING_TABLE_add.3
index fede2030ae..66dde7f97a 100644
--- a/src/lib/libcrypto/man/ASN1_STRING_TABLE_add.3
+++ b/src/lib/libcrypto/man/ASN1_STRING_TABLE_add.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ASN1_STRING_TABLE_add.3,v 1.6 2021/12/11 18:51:25 schwarze Exp $ 1.\" $OpenBSD: ASN1_STRING_TABLE_add.3,v 1.7 2021/12/12 20:16:36 schwarze Exp $
2.\" checked up to: 2.\" checked up to:
3.\" OpenSSL ASN1_STRING_TABLE_add.pod 7b608d08 Jul 27 01:18:50 2017 +0800 3.\" OpenSSL ASN1_STRING_TABLE_add.pod 7b608d08 Jul 27 01:18:50 2017 +0800
4.\" 4.\"
@@ -16,7 +16,7 @@
16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18.\" 18.\"
19.Dd $Mdocdate: December 11 2021 $ 19.Dd $Mdocdate: December 12 2021 $
20.Dt ASN1_STRING_TABLE_ADD 3 20.Dt ASN1_STRING_TABLE_ADD 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -47,6 +47,26 @@ Each entry is of the type
47and contains information about one NID object. 47and contains information about one NID object.
48Some entries are predefined according to RFC 3280 appendix A.1. 48Some entries are predefined according to RFC 3280 appendix A.1.
49.Pp 49.Pp
50By default, the upper bounds for the number of characters in various kinds of
51.Vt ASN1_STRING
52objects are:
53.Pp
54.Bl -column -compact NID_organizationalUnitNa maxsi ub_organization_unit_na
55.It object type Ta maxsize Ta symbolic constant
56.It Dv NID_commonName Ta 64 Ta ub_common_name
57.It Dv NID_countryName Ta 2 Ta \(em
58.It Dv NID_givenName Ta 32768 Ta ub_name
59.It Dv NID_initials Ta 32768 Ta ub_name
60.It Dv NID_localityName Ta 128 Ta ub_locality_name
61.It Dv NID_name Ta 32768 Ta ub_name
62.It Dv NID_organizationName Ta 64 Ta ub_organization_name
63.It Dv NID_organizationalUnitName Ta 64 Ta ub_organization_unit_name
64.It Dv NID_pkcs9_emailAddress Ta 128 Ta ub_email_address
65.It Dv NID_serialNumber Ta 64 Ta ub_serial_number
66.It Dv NID_stateOrProvinceName Ta 128 Ta ub_state_name
67.It Dv NID_surname Ta 32768 Ta ub_name
68.El
69.Pp
50The function 70The function
51.Fn ASN1_STRING_TABLE_add 71.Fn ASN1_STRING_TABLE_add
52changes the existing entry for 72changes the existing entry for