diff options
author | jmc <> | 2017-01-06 00:27:42 +0000 |
---|---|---|
committer | jmc <> | 2017-01-06 00:27:42 +0000 |
commit | 5f82118d2a77244b2d16dd917089f96aa9308687 (patch) | |
tree | e43acfde96f57eb9d16e49bf1d16dcb595c3d169 /src | |
parent | 39e3cc9533418d593f0a48b5042ec9bf28515508 (diff) | |
download | openbsd-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.3 | 24 |
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 |
297 | and | 297 | and |
298 | .Fn i2d_DIRECTORYSTRING | 298 | .Fn i2d_DIRECTORYSTRING |
299 | decode and encode an ASN1 | 299 | decode and encode an ASN.1 |
300 | .Vt DirectoryString | 300 | .Vt DirectoryString |
301 | structure defined in RFC 5280 section 4.1.2.4 | 301 | structure defined in RFC 5280 section 4.1.2.4 |
302 | and used for ASN.1 | 302 | and used for ASN.1 |
@@ -304,8 +304,9 @@ and used for ASN.1 | |||
304 | structures, see | 304 | structures, see |
305 | .Xr EDIPARTYNAME_new 3 . | 305 | .Xr EDIPARTYNAME_new 3 . |
306 | When decoding, it accepts any of the types UTF8String, UniversalString, | 306 | When decoding, it accepts any of the types UTF8String, UniversalString, |
307 | BMPString, T61String, or PrintableString. When encoding, it writes | 307 | BMPString, T61String, or PrintableString. |
308 | out the character string type that is actually passed in. | 308 | When encoding, |
309 | it 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 |
311 | and | 312 | and |
@@ -315,7 +316,7 @@ are non-standard variants of | |||
315 | and | 316 | and |
316 | .Fn i2d_DIRECTORYSTRING | 317 | .Fn i2d_DIRECTORYSTRING |
317 | that also accept IA5String, NumericString, BIT STRING, and SEQUENCE | 318 | that also accept IA5String, NumericString, BIT STRING, and SEQUENCE |
318 | ASN.1 values as well as ASN.1 values with with unknown identifier | 319 | ASN.1 values as well as ASN.1 values with unknown identifier |
319 | octets (0x07, 0x08, 0x09, 0x0b, 0x0d, 0x0e, 0x0f, 0x1d, and 0x1f). | 320 | octets (0x07, 0x08, 0x09, 0x0b, 0x0d, 0x0e, 0x0f, 0x1d, and 0x1f). |
320 | Even though the standard requires the use of | 321 | Even 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 |
327 | and | 328 | and |
328 | .Fn i2d_DISPLAYTEXT | 329 | .Fn i2d_DISPLAYTEXT |
329 | decode and encode an ASN1 | 330 | decode and encode an ASN.1 |
330 | .Vt DisplayText | 331 | .Vt DisplayText |
331 | structure defined in RFC 5280 section 4.2.1.4 | 332 | structure defined in RFC 5280 section 4.2.1.4 |
332 | and used for ASN.1 | 333 | and used for ASN.1 |
333 | .Vt UserNotice | 334 | .Vt UserNotice |
334 | structures in certificate policies, see | 335 | structures in certificate policies; see |
335 | .Xr USERNOTICE_new 3 . | 336 | .Xr USERNOTICE_new 3 . |
336 | When decoding, it accepts any of the types UTF8String, IA5String, | 337 | When decoding, it accepts any of the types UTF8String, IA5String, |
337 | BMPString, or VisibleString. When encoding, it writes out the | 338 | BMPString, or VisibleString. |
338 | character string type that is actually passed in. | 339 | When encoding, |
340 | it 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 |
341 | and | 343 | and |
342 | .Fn i2d_ASN1_TIME | 344 | .Fn i2d_ASN1_TIME |
343 | decode and encode an ASN1 | 345 | decode and encode an ASN.1 |
344 | .Vt Time | 346 | .Vt Time |
345 | structure defined in RFC 5280 section 4.1 | 347 | structure defined in RFC 5280 section 4.1 |
346 | and used for ASN.1 | 348 | and used for ASN.1 |