diff options
author | schwarze <> | 2016-12-25 22:15:10 +0000 |
---|---|---|
committer | schwarze <> | 2016-12-25 22:15:10 +0000 |
commit | 899a1058abcbe6fe59592ed5d46cc4b55cf12326 (patch) | |
tree | 90a8fcb1d550495e918efcdbf187d897e1c021f7 /src/lib/libcrypto/man/ASN1_generate_nconf.3 | |
parent | 5667f2b73d8867280a0e2b3dd1d8068478634723 (diff) | |
download | openbsd-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.3 | 25 |
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. | |||
285 | The error codes can be obtained by | 285 | The error codes can be obtained by |
286 | .Xr ERR_get_error 3 . | 286 | .Xr ERR_get_error 3 . |
287 | .Sh EXAMPLES | 287 | .Sh EXAMPLES |
288 | A simple IA5String: | 288 | A simple |
289 | .Vt IA5String : | ||
289 | .Pp | 290 | .Pp |
290 | .Dl IA5STRING:Hello World | 291 | .Dl IA5STRING:Hello World |
291 | .Pp | 292 | .Pp |
292 | An IA5String explicitly tagged: | 293 | An |
294 | .Vt IA5String | ||
295 | explicitly tagged: | ||
293 | .Pp | 296 | .Pp |
294 | .Dl EXPLICIT:0,IA5STRING:Hello World | 297 | .Dl EXPLICIT:0,IA5STRING:Hello World |
295 | .Pp | 298 | .Pp |
296 | An IA5String explicitly tagged using APPLICATION tagging: | 299 | An |
300 | .Vt IA5String | ||
301 | explicitly 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 |
304 | A more complex example using a config file to produce a | 309 | A more complex example using a config file to produce a |
305 | SEQUENCE consisting of a BOOL an OID and a UTF8String: | 310 | SEQUENCE consisting of a BOOL an OID and a |
311 | .Vt UTF8String : | ||
306 | .Bd -literal -offset indent | 312 | .Bd -literal -offset indent |
307 | asn1 = SEQUENCE:seq_section | 313 | asn1 = SEQUENCE:seq_section |
308 | 314 | ||
@@ -313,7 +319,9 @@ field2 = OID:commonName | |||
313 | field3 = UTF8:Third field | 319 | field3 = UTF8:Third field |
314 | .Ed | 320 | .Ed |
315 | .Pp | 321 | .Pp |
316 | This example produces an RSAPrivateKey structure. | 322 | This example produces an |
323 | .Vt RSAPrivateKey | ||
324 | structure. | ||
317 | This is the key contained in the file | 325 | This is the key contained in the file |
318 | .Pa client.pem | 326 | .Pa client.pem |
319 | in all OpenSSL distributions. | 327 | in all OpenSSL distributions. |
@@ -349,7 +357,8 @@ coeff=INTEGER:0x30B9E4F2AFA5AC679F920FC83F1F2DF1BAF1779CF989447FABC2F5\e | |||
349 | 628657053A | 357 | 628657053A |
350 | .Ed | 358 | .Ed |
351 | .Pp | 359 | .Pp |
352 | This example is the corresponding public key in a SubjectPublicKeyInfo | 360 | This example is the corresponding public key in an ASN.1 |
361 | .Vt SubjectPublicKeyInfo | ||
353 | structure: | 362 | structure: |
354 | .Bd -literal -offset 2n | 363 | .Bd -literal -offset 2n |
355 | # Start with a SEQUENCE | 364 | # Start with a SEQUENCE |