PcapPlusPlus
24.09
|
#include <Asn1Codec.h>
Public Member Functions | |
Asn1OctetStringRecord (const std::string &value) | |
Asn1OctetStringRecord (const uint8_t *value, size_t valueLength) | |
std::string | getValue () |
Public Member Functions inherited from pcpp::Asn1Record | |
std::vector< uint8_t > | encode () |
Asn1TagClass | getTagClass () const |
bool | isConstructed () const |
Asn1UniversalTagType | getUniversalTagType () const |
uint8_t | getTagType () const |
size_t | getValueLength () const |
size_t | getTotalLength () const |
std::string | toString () |
template<class Asn1RecordType > | |
Asn1RecordType * | castAs () |
Additional Inherited Members | |
Static Public Member Functions inherited from pcpp::Asn1Record | |
static std::unique_ptr< Asn1Record > | decode (const uint8_t *data, size_t dataLen, bool lazy=true) |
Represents an ASN.1 record with a value of type Octet String
|
explicit |
A constructor to create a record of type Octet String from a printable value
value | A string to set as the record value |
|
explicit |
A constructor to create a record of type Octet String from a non-printable value
value | A byte array to set as the record value |
valueLength | The length of the byte array |
|
inline |