|
Botan 3.12.0
Crypto and TLS for C&
|
#include <asn1_print.h>
Public Member Functions | |
| ASN1_Pretty_Printer (size_t print_limit=4096, size_t print_binary_limit=2048, bool print_context_specific=true, size_t initial_level=0, size_t value_column=60, size_t max_depth=64, bool require_der=false) | |
| template<typename Alloc> | |
| std::string | print (const std::vector< uint8_t, Alloc > &vec) const |
| std::string | print (const uint8_t in[], size_t len) const |
| void | print_to_stream (std::ostream &out, const uint8_t in[], size_t len) const |
Format ASN.1 data into human readable output. The exact form of the output for any particular input is not guaranteed and may change from release to release.
Definition at line 80 of file asn1_print.h.
|
inlineexplicit |
| print_limit | strings larger than this are not printed |
| print_binary_limit | binary strings larger than this are not printed |
| print_context_specific | if true, try to parse nested context specific data. |
| initial_level | the initial depth (0 or 1 are the only reasonable values) |
| value_column | ASN.1 values are lined up at this column in output |
| max_depth | do not recurse more than this many times. If zero, recursion is unbounded. |
| require_der | if true then non-canonical BER data is rejected |
Definition at line 92 of file asn1_print.h.
References Botan::ASN1_Formatter::ASN1_Formatter().
|
inlineinherited |
Definition at line 41 of file asn1_print.h.
References print().
|
inherited |
Definition at line 78 of file asn1_print.cpp.
References print_to_stream().
Referenced by print().
|
inherited |
Definition at line 84 of file asn1_print.cpp.
References Botan::BER_Decoder::Limits::BER(), and Botan::BER_Decoder::Limits::DER().
Referenced by print().