diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-09-26 08:37:01 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-06-09 09:47:34 +0200 |
commit | 34df960a75aeb85b97e5ac70465275c2057ee1a3 (patch) | |
tree | 8ae3ce275585e7f79563dd8faac4605c221705da /apps/ec.c | |
parent | ca857d7332d042142ced23b37fdd1d52dbf152b9 (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 'apps/ec.c')
0 files changed, 0 insertions, 0 deletions