version 1.83, 2016/10/06 14:47:00 |
version 1.84, 2017/01/03 22:14:41 |
|
|
is present then the string is obtained from the default section |
is present then the string is obtained from the default section |
using the name |
using the name |
.Dq asn1 . |
.Dq asn1 . |
The encoded data is passed through the ASN1 parser and printed out as |
The encoded data is passed through the ASN.1 parser and printed out as |
though it came from a file; |
though it came from a file; |
the contents can thus be examined and written to a file using the |
the contents can thus be examined and written to a file using the |
.Fl out |
.Fl out |
|
|
.It Fl enddate Ar date |
.It Fl enddate Ar date |
Set the expiry date. |
Set the expiry date. |
The format of the date is YYMMDDHHMMSSZ |
The format of the date is YYMMDDHHMMSSZ |
.Pq the same as an ASN1 UTCTime structure . |
.Pq the same as an ASN.1 UTCTime structure . |
.It Fl extensions Ar section |
.It Fl extensions Ar section |
The section of the configuration file containing certificate extensions |
The section of the configuration file containing certificate extensions |
to be added when a certificate is issued (defaults to |
to be added when a certificate is issued (defaults to |
|
|
.It Fl startdate Ar date |
.It Fl startdate Ar date |
Set the start date. |
Set the start date. |
The format of the date is YYMMDDHHMMSSZ |
The format of the date is YYMMDDHHMMSSZ |
.Pq the same as an ASN1 UTCTime structure . |
.Pq the same as an ASN.1 UTCTime structure . |
.It Fl status Ar serial |
.It Fl status Ar serial |
Show the status of the certificate with serial number |
Show the status of the certificate with serial number |
.Ar serial . |
.Ar serial . |
|
|
.It Fl embed |
.It Fl embed |
Generate DSA keys in a broken format. |
Generate DSA keys in a broken format. |
The DSA parameters are embedded inside the PrivateKey structure. |
The DSA parameters are embedded inside the PrivateKey structure. |
In this form the OCTET STRING contains an ASN1 SEQUENCE consisting of |
In this form the OCTET STRING contains an ASN.1 SEQUENCE consisting of |
two structures: |
two structures: |
a SEQUENCE containing the parameters and an ASN1 INTEGER containing |
a SEQUENCE containing the parameters and an ASN.1 INTEGER containing |
the private key. |
the private key. |
.It Fl in Ar file |
.It Fl in Ar file |
The input file to read from, |
The input file to read from, |
|
|
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl asn1parse |
.It Fl asn1parse |
ASN1parse the output data. |
ASN.1 parse the output data. |
This is useful when combined with the |
This is useful when combined with the |
.Fl verifyrecover |
.Fl verifyrecover |
option when an ASN1 structure is signed. |
option when an ASN.1 structure is signed. |
.It Fl certin |
.It Fl certin |
The input is a certificate containing a public key. |
The input is a certificate containing a public key. |
.It Fl decrypt |
.It Fl decrypt |
|
|
.It Fl inform Cm der | pem |
.It Fl inform Cm der | pem |
The input format. |
The input format. |
.Cm der |
.Cm der |
uses an ASN1 DER-encoded format containing session details. |
uses an ASN.1 DER-encoded format containing session details. |
The precise format can vary from one version to the next. |
The precise format can vary from one version to the next. |
.Cm pem |
.Cm pem |
is the default format: it consists of the DER |
is the default format: it consists of the DER |
|
|
.It Cm ext_error |
.It Cm ext_error |
Print an error message for unsupported certificate extensions. |
Print an error message for unsupported certificate extensions. |
.It Cm ext_parse |
.It Cm ext_parse |
ASN1 parse unsupported extensions. |
ASN.1 parse unsupported extensions. |
.It Cm no_aux |
.It Cm no_aux |
Do not print certificate trust information. |
Do not print certificate trust information. |
.It Cm no_extensions |
.It Cm no_extensions |
|
|
for the AVA separator, |
for the AVA separator, |
as well as indenting the fields by four characters. |
as well as indenting the fields by four characters. |
.It Cm show_type |
.It Cm show_type |
Show the type of the ASN1 character string. |
Show the type of the ASN.1 character string. |
The type precedes the field contents. |
The type precedes the field contents. |
For example |
For example |
.Qq BMPSTRING: Hello World . |
.Qq BMPSTRING: Hello World . |