Skip to content

Helper function to replicate OpenSSL asn1parse#1653

Open
dwhjames wants to merge 1 commit intoRustCrypto:masterfrom
dwhjames:debug-print
Open

Helper function to replicate OpenSSL asn1parse#1653
dwhjames wants to merge 1 commit intoRustCrypto:masterfrom
dwhjames:debug-print

Conversation

@dwhjames
Copy link
Contributor

@dwhjames dwhjames commented Feb 9, 2025

This function is intended to help debug DER encodings (with some non-DER forgiveness: constructed, indefinite-length method allowed with BER) by printing a dump of the decoded data to stdout. The output format closely mirrors that of the asn1parse command (in indentation mode with -i) from OpenSSL.

This function is intended to help debug DER encodings (with some
non-DER forgiveness: constructed, indefinite-length method allowed with
BER) by printing a dump of the decoded data to stdout. The output format
closely mirrors that of the `asn1parse` command (in indentation mode
with `-i`) from OpenSSL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant