retdec
Public Member Functions | Private Member Functions | Private Attributes | List of all members
retdec::fileformat::Asn1Sequence Class Reference

#include <asn1.h>

Inheritance diagram for retdec::fileformat::Asn1Sequence:
Inheritance graph
[legend]
Collaboration diagram for retdec::fileformat::Asn1Sequence:
Collaboration graph
[legend]

Public Member Functions

 Asn1Sequence (const std::vector< std::uint8_t > &data)
 
std::size_t getNumberOfElements () const
 
std::shared_ptr< Asn1ItemgetElement (std::size_t index) const
 
- Public Member Functions inherited from retdec::fileformat::Asn1Item
virtual ~Asn1Item ()=default
 
std::size_t getLength () const
 
const std::vector< std::uint8_t > & getData () const
 
std::size_t getContentLength () const
 
std::vector< std::uint8_t > getContentData () const
 
bool isNull () const
 
bool isBitString () const
 
bool isOctetString () const
 
bool isSequence () const
 
bool isObject () const
 
bool isContextSpecific () const
 

Private Member Functions

void init ()
 

Private Attributes

std::vector< std::shared_ptr< Asn1Item > > _elements
 

Additional Inherited Members

- Static Public Member Functions inherited from retdec::fileformat::Asn1Item
static std::shared_ptr< Asn1Itemparse (const std::vector< std::uint8_t > &data)
 
- Protected Member Functions inherited from retdec::fileformat::Asn1Item
 Asn1Item (Asn1Type type, const std::vector< std::uint8_t > &data)
 
- Protected Attributes inherited from retdec::fileformat::Asn1Item
Asn1Type _type
 
std::vector< std::uint8_t > _data
 

Constructor & Destructor Documentation

◆ Asn1Sequence()

retdec::fileformat::Asn1Sequence::Asn1Sequence ( const std::vector< std::uint8_t > &  data)

Member Function Documentation

◆ getElement()

std::shared_ptr< Asn1Item > retdec::fileformat::Asn1Sequence::getElement ( std::size_t  index) const

◆ getNumberOfElements()

std::size_t retdec::fileformat::Asn1Sequence::getNumberOfElements ( ) const

◆ init()

void retdec::fileformat::Asn1Sequence::init ( )
private

Member Data Documentation

◆ _elements

std::vector<std::shared_ptr<Asn1Item> > retdec::fileformat::Asn1Sequence::_elements
private

The documentation for this class was generated from the following files: