nl::Weave::ASN1

This namespace includes all interfaces within Weave for working with Abstract Syntax Notation One (ASN.1).

Summary

Enumerations

@282 enum
@285 enum
ASN1TagClasses enum
ASN1UniversalTags enum
OIDCategory enum

Typedefs

ASN1_ERROR typedef
The basic type for all ASN1 subsystem errors.
OID typedef
uint16_t

Variables

sOIDNameTable[]
sOIDTable[]
sOIDTableSize
const size_t

Functions

DumpASN1(ASN1Reader & reader, const char *prefix, const char *indent)
GetEncodedObjectID(OID oid, const uint8_t *& encodedOID, uint16_t & encodedOIDLen)
bool
GetOIDCategory(OID oid)
OIDCategory
GetOIDName(OID oid)
const char *
HighestBit(uint32_t v)
uint8_t
ParseObjectID(const uint8_t *encodedOID, uint16_t encodedOIDLen)
OID
ReverseBits(uint8_t v)
uint8_t
ReverseBits(uint8_t v)
uint8_t
itoa2(uint32_t val, uint8_t *buf)
void

Classes

nl::Weave::ASN1::ASN1Reader
nl::Weave::ASN1::ASN1UniversalTime
nl::Weave::ASN1::ASN1Writer

Structs

nl::Weave::ASN1::OIDNameTableEntry
nl::Weave::ASN1::OIDTableEntry

Enumerations

@282

 @282

@285

 @285

ASN1TagClasses

 ASN1TagClasses

ASN1UniversalTags

 ASN1UniversalTags

OIDCategory

 OIDCategory

Typedefs

ASN1_ERROR

ASN1_CONFIG_ERROR_TYPE ASN1_ERROR

The basic type for all ASN1 subsystem errors.

This is defined to a platform- or system-specific type.

OID

uint16_t OID

Variables

sOIDNameTable

const OIDNameTableEntry sOIDNameTable[]

sOIDTable

const OIDTableEntry sOIDTable[]

sOIDTableSize

const size_t sOIDTableSize

Functions

DumpASN1

ASN1_ERROR DumpASN1(
  ASN1Reader & reader,
  const char *prefix,
  const char *indent
)

GetEncodedObjectID

bool GetEncodedObjectID(
  OID oid,
  const uint8_t *& encodedOID,
  uint16_t & encodedOIDLen
)

GetOIDCategory

OIDCategory GetOIDCategory(
  OID oid
)

GetOIDName

const char * GetOIDName(
  OID oid
)

HighestBit

uint8_t HighestBit(
  uint32_t v
)

ParseObjectID

OID ParseObjectID(
  const uint8_t *encodedOID,
  uint16_t encodedOIDLen
)

ReverseBits

uint8_t ReverseBits(
  uint8_t v
)

ReverseBits

uint8_t ReverseBits(
  uint8_t v
)

itoa2

void itoa2(
  uint32_t val,
  uint8_t *buf
)