Botan 3.5.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) | |
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 76 of file asn1_print.h.
|
inline |
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. |
Definition at line 87 of file asn1_print.h.
|
inlineinherited |
Definition at line 40 of file asn1_print.h.
|
inherited |
Definition at line 61 of file asn1_print.cpp.
References Botan::ASN1_Formatter::print_to_stream().
|
inherited |
Definition at line 67 of file asn1_print.cpp.
Referenced by Botan::ASN1_Formatter::print().