summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/ASN1_generate_nconf.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/ASN1_generate_nconf.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/ASN1_generate_nconf.3')
-rw-r--r--src/lib/libcrypto/man/ASN1_generate_nconf.325
1 files changed, 17 insertions, 8 deletions
diff --git a/src/lib/libcrypto/man/ASN1_generate_nconf.3 b/src/lib/libcrypto/man/ASN1_generate_nconf.3
index bcf55d724b..5e1ba0a817 100644
--- a/src/lib/libcrypto/man/ASN1_generate_nconf.3
+++ b/src/lib/libcrypto/man/ASN1_generate_nconf.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ASN1_generate_nconf.3,v 1.8 2016/12/11 18:06:09 schwarze Exp $ 1.\" $OpenBSD: ASN1_generate_nconf.3,v 1.9 2016/12/25 22:15:10 schwarze Exp $
2.\" OpenSSL 05ea606a Fri May 20 20:52:46 2016 -0400 2.\" OpenSSL 05ea606a Fri May 20 20:52:46 2016 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson. 4.\" This file was written by Dr. Stephen Henson.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: December 11 2016 $ 52.Dd $Mdocdate: December 25 2016 $
53.Dt ASN1_GENERATE_NCONF 3 53.Dt ASN1_GENERATE_NCONF 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -285,15 +285,20 @@ if an error occurred.
285The error codes can be obtained by 285The error codes can be obtained by
286.Xr ERR_get_error 3 . 286.Xr ERR_get_error 3 .
287.Sh EXAMPLES 287.Sh EXAMPLES
288A simple IA5String: 288A simple
289.Vt IA5String :
289.Pp 290.Pp
290.Dl IA5STRING:Hello World 291.Dl IA5STRING:Hello World
291.Pp 292.Pp
292An IA5String explicitly tagged: 293An
294.Vt IA5String
295explicitly tagged:
293.Pp 296.Pp
294.Dl EXPLICIT:0,IA5STRING:Hello World 297.Dl EXPLICIT:0,IA5STRING:Hello World
295.Pp 298.Pp
296An IA5String explicitly tagged using APPLICATION tagging: 299An
300.Vt IA5String
301explicitly tagged using APPLICATION tagging:
297.Pp 302.Pp
298.Dl EXPLICIT:0A,IA5STRING:Hello World 303.Dl EXPLICIT:0A,IA5STRING:Hello World
299.Pp 304.Pp
@@ -302,7 +307,8 @@ A BITSTRING with bits 1 and 5 set and all others zero:
302.Dl FORMAT:BITLIST,BITSTRING:1,5 307.Dl FORMAT:BITLIST,BITSTRING:1,5
303.Pp 308.Pp
304A more complex example using a config file to produce a 309A more complex example using a config file to produce a
305SEQUENCE consisting of a BOOL an OID and a UTF8String: 310SEQUENCE consisting of a BOOL an OID and a
311.Vt UTF8String :
306.Bd -literal -offset indent 312.Bd -literal -offset indent
307asn1 = SEQUENCE:seq_section 313asn1 = SEQUENCE:seq_section
308 314
@@ -313,7 +319,9 @@ field2 = OID:commonName
313field3 = UTF8:Third field 319field3 = UTF8:Third field
314.Ed 320.Ed
315.Pp 321.Pp
316This example produces an RSAPrivateKey structure. 322This example produces an
323.Vt RSAPrivateKey
324structure.
317This is the key contained in the file 325This is the key contained in the file
318.Pa client.pem 326.Pa client.pem
319in all OpenSSL distributions. 327in all OpenSSL distributions.
@@ -349,7 +357,8 @@ coeff=INTEGER:0x30B9E4F2AFA5AC679F920FC83F1F2DF1BAF1779CF989447FABC2F5\e
349628657053A 357628657053A
350.Ed 358.Ed
351.Pp 359.Pp
352This example is the corresponding public key in a SubjectPublicKeyInfo 360This example is the corresponding public key in an ASN.1
361.Vt SubjectPublicKeyInfo
353structure: 362structure:
354.Bd -literal -offset 2n 363.Bd -literal -offset 2n
355# Start with a SEQUENCE 364# Start with a SEQUENCE