retdec
Classes | Namespaces | Enumerations | Variables
asn1.h File Reference

Declaration of classes for ASN1 parsing and representation. More...

#include <cstdint>
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

class  retdec::fileformat::Asn1Item
 
class  retdec::fileformat::Asn1Null
 
class  retdec::fileformat::Asn1BitString
 
class  retdec::fileformat::Asn1OctetString
 
class  retdec::fileformat::Asn1Object
 
class  retdec::fileformat::Asn1Sequence
 
class  retdec::fileformat::Asn1ContextSpecific
 

Namespaces

 retdec
 
 retdec::fileformat
 

Enumerations

enum class  retdec::fileformat::Asn1Type {
  retdec::fileformat::Null , retdec::fileformat::BitString , retdec::fileformat::OctetString , retdec::fileformat::Sequence ,
  retdec::fileformat::Object , retdec::fileformat::ContextSpecific
}
 

Variables

const std::uint8_t retdec::fileformat::Asn1TagMask_Class = 0xC0
 
const std::uint8_t retdec::fileformat::Asn1TagMask_Primitive = 0x20
 
const std::uint8_t retdec::fileformat::Asn1TagMask_Type = 0x1F
 
const std::uint8_t retdec::fileformat::Asn1Tag_Universal = 0x00
 
const std::uint8_t retdec::fileformat::Asn1Tag_Application = 0x40
 
const std::uint8_t retdec::fileformat::Asn1Tag_ContextSpecific = 0x80
 
const std::uint8_t retdec::fileformat::Asn1Tag_Private = 0xC0
 
const std::uint8_t retdec::fileformat::Asn1Tag_Constructed = 0x20
 
const std::uint8_t retdec::fileformat::Asn1Tag_BitString = 0x03
 
const std::uint8_t retdec::fileformat::Asn1Tag_OctetString = 0x04
 
const std::uint8_t retdec::fileformat::Asn1Tag_Null = 0x05
 
const std::uint8_t retdec::fileformat::Asn1Tag_Object = 0x06
 
const std::uint8_t retdec::fileformat::Asn1Tag_Sequence = 0x10
 
const std::string retdec::fileformat::DigestAlgorithmOID_Sha1 = "1.3.14.3.2.26"
 
const std::string retdec::fileformat::DigestAlgorithmOID_Sha256 = "2.16.840.1.101.3.4.2.1"
 
const std::string retdec::fileformat::DigestAlgorithmOID_Md5 = "1.2.840.113549.2.5"
 

Detailed Description

Declaration of classes for ASN1 parsing and representation.