summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2017-01-06 00:27:42 +0000
committerjmc <>2017-01-06 00:27:42 +0000
commit5f82118d2a77244b2d16dd917089f96aa9308687 (patch)
treee43acfde96f57eb9d16e49bf1d16dcb595c3d169 /src
parent39e3cc9533418d593f0a48b5042ec9bf28515508 (diff)
downloadopenbsd-5f82118d2a77244b2d16dd917089f96aa9308687.tar.gz
openbsd-5f82118d2a77244b2d16dd917089f96aa9308687.tar.bz2
openbsd-5f82118d2a77244b2d16dd917089f96aa9308687.zip
tweak previous;
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.324
1 files changed, 13 insertions, 11 deletions
diff --git a/src/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3 b/src/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3
index 1f76e5fdc1..c4ced53ed2 100644
--- a/src/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3
+++ b/src/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: d2i_ASN1_OCTET_STRING.3,v 1.2 2017/01/05 23:13:07 schwarze Exp $ 1.\" $OpenBSD: d2i_ASN1_OCTET_STRING.3,v 1.3 2017/01/06 00:27:42 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> 3.\" Copyright (c) 2017 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: January 5 2017 $ 17.Dd $Mdocdate: January 6 2017 $
18.Dt D2I_ASN1_OCTET_STRING 3 18.Dt D2I_ASN1_OCTET_STRING 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -296,7 +296,7 @@ The identifier octets and corresponding ASN.1 types are as follows:
296.Fn d2i_DIRECTORYSTRING 296.Fn d2i_DIRECTORYSTRING
297and 297and
298.Fn i2d_DIRECTORYSTRING 298.Fn i2d_DIRECTORYSTRING
299decode and encode an ASN1 299decode and encode an ASN.1
300.Vt DirectoryString 300.Vt DirectoryString
301structure defined in RFC 5280 section 4.1.2.4 301structure defined in RFC 5280 section 4.1.2.4
302and used for ASN.1 302and used for ASN.1
@@ -304,8 +304,9 @@ and used for ASN.1
304structures, see 304structures, see
305.Xr EDIPARTYNAME_new 3 . 305.Xr EDIPARTYNAME_new 3 .
306When decoding, it accepts any of the types UTF8String, UniversalString, 306When decoding, it accepts any of the types UTF8String, UniversalString,
307BMPString, T61String, or PrintableString. When encoding, it writes 307BMPString, T61String, or PrintableString.
308out the character string type that is actually passed in. 308When encoding,
309it writes out the character string type that is actually passed in.
309.Pp 310.Pp
310.Fn d2i_ASN1_PRINTABLE 311.Fn d2i_ASN1_PRINTABLE
311and 312and
@@ -315,7 +316,7 @@ are non-standard variants of
315and 316and
316.Fn i2d_DIRECTORYSTRING 317.Fn i2d_DIRECTORYSTRING
317that also accept IA5String, NumericString, BIT STRING, and SEQUENCE 318that also accept IA5String, NumericString, BIT STRING, and SEQUENCE
318ASN.1 values as well as ASN.1 values with with unknown identifier 319ASN.1 values as well as ASN.1 values with unknown identifier
319octets (0x07, 0x08, 0x09, 0x0b, 0x0d, 0x0e, 0x0f, 0x1d, and 0x1f). 320octets (0x07, 0x08, 0x09, 0x0b, 0x0d, 0x0e, 0x0f, 0x1d, and 0x1f).
320Even though the standard requires the use of 321Even though the standard requires the use of
321.Vt DirectoryString 322.Vt DirectoryString
@@ -326,21 +327,22 @@ the library accepts this wider range of choices.
326.Fn d2i_DISPLAYTEXT 327.Fn d2i_DISPLAYTEXT
327and 328and
328.Fn i2d_DISPLAYTEXT 329.Fn i2d_DISPLAYTEXT
329decode and encode an ASN1 330decode and encode an ASN.1
330.Vt DisplayText 331.Vt DisplayText
331structure defined in RFC 5280 section 4.2.1.4 332structure defined in RFC 5280 section 4.2.1.4
332and used for ASN.1 333and used for ASN.1
333.Vt UserNotice 334.Vt UserNotice
334structures in certificate policies, see 335structures in certificate policies; see
335.Xr USERNOTICE_new 3 . 336.Xr USERNOTICE_new 3 .
336When decoding, it accepts any of the types UTF8String, IA5String, 337When decoding, it accepts any of the types UTF8String, IA5String,
337BMPString, or VisibleString. When encoding, it writes out the 338BMPString, or VisibleString.
338character string type that is actually passed in. 339When encoding,
340it writes out the character string type that is actually passed in.
339.Pp 341.Pp
340.Fn d2i_ASN1_TIME 342.Fn d2i_ASN1_TIME
341and 343and
342.Fn i2d_ASN1_TIME 344.Fn i2d_ASN1_TIME
343decode and encode an ASN1 345decode and encode an ASN.1
344.Vt Time 346.Vt Time
345structure defined in RFC 5280 section 4.1 347structure defined in RFC 5280 section 4.1
346and used for ASN.1 348and used for ASN.1