summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2017-01-06 00:27:43 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2017-01-06 00:27:43 +0000
commit1c2d8973ae5d0a3400ac6bb6975c5c07cea48958 (patch)
tree75639f9228362c06809091fb8e9589dc86446036
parent66f3e7993c192faf7a5ecba3d3e5c3b978b330a1 (diff)
tweak previous;
-rw-r--r--lib/libcrypto/man/d2i_ASN1_OCTET_STRING.324
1 files changed, 13 insertions, 11 deletions
diff --git a/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3 b/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3
index 1f76e5fdc11..c4ced53ed28 100644
--- a/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3
+++ b/lib/libcrypto/man/d2i_ASN1_OCTET_STRING.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: d2i_ASN1_OCTET_STRING.3,v 1.2 2017/01/05 23:13:07 schwarze Exp $
+.\" $OpenBSD: d2i_ASN1_OCTET_STRING.3,v 1.3 2017/01/06 00:27:42 jmc Exp $
.\"
.\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 5 2017 $
+.Dd $Mdocdate: January 6 2017 $
.Dt D2I_ASN1_OCTET_STRING 3
.Os
.Sh NAME
@@ -296,7 +296,7 @@ The identifier octets and corresponding ASN.1 types are as follows:
.Fn d2i_DIRECTORYSTRING
and
.Fn i2d_DIRECTORYSTRING
-decode and encode an ASN1
+decode and encode an ASN.1
.Vt DirectoryString
structure defined in RFC 5280 section 4.1.2.4
and used for ASN.1
@@ -304,8 +304,9 @@ and used for ASN.1
structures, see
.Xr EDIPARTYNAME_new 3 .
When decoding, it accepts any of the types UTF8String, UniversalString,
-BMPString, T61String, or PrintableString. When encoding, it writes
-out the character string type that is actually passed in.
+BMPString, T61String, or PrintableString.
+When encoding,
+it writes out the character string type that is actually passed in.
.Pp
.Fn d2i_ASN1_PRINTABLE
and
@@ -315,7 +316,7 @@ are non-standard variants of
and
.Fn i2d_DIRECTORYSTRING
that also accept IA5String, NumericString, BIT STRING, and SEQUENCE
-ASN.1 values as well as ASN.1 values with with unknown identifier
+ASN.1 values as well as ASN.1 values with unknown identifier
octets (0x07, 0x08, 0x09, 0x0b, 0x0d, 0x0e, 0x0f, 0x1d, and 0x1f).
Even though the standard requires the use of
.Vt DirectoryString
@@ -326,21 +327,22 @@ the library accepts this wider range of choices.
.Fn d2i_DISPLAYTEXT
and
.Fn i2d_DISPLAYTEXT
-decode and encode an ASN1
+decode and encode an ASN.1
.Vt DisplayText
structure defined in RFC 5280 section 4.2.1.4
and used for ASN.1
.Vt UserNotice
-structures in certificate policies, see
+structures in certificate policies; see
.Xr USERNOTICE_new 3 .
When decoding, it accepts any of the types UTF8String, IA5String,
-BMPString, or VisibleString. When encoding, it writes out the
-character string type that is actually passed in.
+BMPString, or VisibleString.
+When encoding,
+it writes out the character string type that is actually passed in.
.Pp
.Fn d2i_ASN1_TIME
and
.Fn i2d_ASN1_TIME
-decode and encode an ASN1
+decode and encode an ASN.1
.Vt Time
structure defined in RFC 5280 section 4.1
and used for ASN.1