Google is committed to advancing racial equity for Black communities. See how.

nl::Weave::ASN1::ASN1Reader

Summary

Public attributes

Class
uint8_t
IsConstructed
bool
IsEndOfContents
bool
IsIndefiniteLen
bool
Tag
uint32_t
Value
const uint8_t *
ValueLen
uint32_t

Public functions

EnterConstructedType(void)
EnterEncapsulatedType(void)
ExitConstructedType(void)
ExitEncapsulatedType(void)
GetBitString(uint32_t & outVal)
GetBoolean(bool & val)
GetGeneralizedTime(ASN1UniversalTime & outTime)
GetInteger(int64_t & val)
GetObjectId(OID & oid)
GetUTCTime(ASN1UniversalTime & outTime)
Init(const uint8_t *buf, uint32_t len)
void
IsContained(void) const
bool
Next(void)

Public attributes

Class

uint8_t Class

IsConstructed

bool IsConstructed

IsEndOfContents

bool IsEndOfContents

IsIndefiniteLen

bool IsIndefiniteLen

Tag

uint32_t Tag

Value

const uint8_t * Value

ValueLen

uint32_t ValueLen

Public functions

EnterConstructedType

ASN1_ERROR EnterConstructedType(
  void
)

EnterEncapsulatedType

ASN1_ERROR EnterEncapsulatedType(
  void
)

ExitConstructedType

ASN1_ERROR ExitConstructedType(
  void
)

ExitEncapsulatedType

ASN1_ERROR ExitEncapsulatedType(
  void
)

GetBitString

ASN1_ERROR GetBitString(
  uint32_t & outVal
)

GetBoolean

ASN1_ERROR GetBoolean(
  bool & val
)

GetGeneralizedTime

ASN1_ERROR GetGeneralizedTime(
  ASN1UniversalTime & outTime
)

GetInteger

ASN1_ERROR GetInteger(
  int64_t & val
)

GetObjectId

ASN1_ERROR GetObjectId(
  OID & oid
)

GetUTCTime

ASN1_ERROR GetUTCTime(
  ASN1UniversalTime & outTime
)

Init

void Init(
  const uint8_t *buf,
  uint32_t len
)

IsContained

bool IsContained(
  void
) const 

Next

ASN1_ERROR Next(
  void
)