summaryrefslogtreecommitdiffstats
path: root/doc/man1
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-09-26 08:37:01 +0200
committerTomas Mraz <tomas@openssl.org>2023-06-09 09:47:34 +0200
commit34df960a75aeb85b97e5ac70465275c2057ee1a3 (patch)
tree8ae3ce275585e7f79563dd8faac4605c221705da /doc/man1
parentca857d7332d042142ced23b37fdd1d52dbf152b9 (diff)
apps/asn1parse: improve RFC7462 compliance
The asn1parse command now supports three different input formats: openssl asn1parse -inform PEM|DER|B64 PEM: base64 encoded data enclosed by PEM markers (RFC7462) DER: der encoded binary data B64: raw base64 encoded data The PEM input format is the default format. It is equivalent to the former `-strictpem` option which is now marked obsolete and kept for backward compatibility only. The B64 is equivalent to the former default input format of the asn1parse command (without `-strictpem`) Fixes #7317 Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7320)
Diffstat (limited to 'doc/man1')
-rw-r--r--doc/man1/openssl-asn1parse.pod.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man1/openssl-asn1parse.pod.in b/doc/man1/openssl-asn1parse.pod.in
index f098c89c33..892fc47e7d 100644
--- a/doc/man1/openssl-asn1parse.pod.in
+++ b/doc/man1/openssl-asn1parse.pod.in
@@ -9,7 +9,7 @@ openssl-asn1parse - ASN.1 parsing command
B<openssl> B<asn1parse>
[B<-help>]
-[B<-inform> B<DER>|B<PEM>]
+[B<-inform> B<DER>|B<PEM>|B<B64>]
[B<-in> I<filename>]
[B<-out> I<filename>]
[B<-noout>]
@@ -38,7 +38,7 @@ It can also be used to extract data from ASN.1 formatted data.
Print out a usage message.
-=item B<-inform> B<DER>|B<PEM>
+=item B<-inform> B<DER>|B<PEM>|B<B64>
The input format; the default is B<PEM>.
See L<openssl-format-options(1)> for details.