16#ifndef LIEF_ASN1_READER_H
17#define LIEF_ASN1_READER_H
26struct mbedtls_x509_crt;
27struct mbedtls_x509_time;
Definition ASN1Reader.hpp:32
result< std::unique_ptr< mbedtls_x509_crt > > read_cert()
result< std::string > read_oid()
result< std::vector< uint8_t > > read_large_int()
static std::string tag2str(int tag)
result< int32_t > read_int()
result< bool > is_tag(int tag)
ASN1Reader & operator=(const ASN1Reader &)=delete
result< std::unique_ptr< mbedtls_x509_time > > x509_read_time()
result< std::string > read_utf8_string()
result< std::vector< uint8_t > > read_bitstring()
ASN1Reader(const ASN1Reader &)=delete
result< int64_t > read_int64()
result< std::vector< uint8_t > > read_octet_string()
result< size_t > read_len()
result< std::string > read_alg()
result< std::vector< uint8_t > > x509_read_serial()
result< size_t > read_tag(int tag)
ASN1Reader(BinaryStream &stream)
Definition ASN1Reader.hpp:36
result< std::string > x509_read_names()
std::string get_str_tag()
result< bool > read_bool()
Class that is used to a read stream of data from different sources.
Definition BinaryStream.hpp:34
LIEF namespace.
Definition Abstract/Binary.hpp:32
tl::expected< T, lief_errors > result
Wrapper that contains an Object (T) or an error.
Definition errors.hpp:74