nl:: Weave:: ASN1
Bu ad alanı, Özet Söz Dizimi Notation One (ASN.1) ile çalışmak için Weave içindeki tüm arayüzleri içerir.
Özet
Sıralamalar |
|
---|---|
@334
|
enum |
ASN1TagClasses
|
enum |
ASN1UniversalTags
|
enum |
Türdefler |
|
---|---|
ASN1_ERROR
|
typedef Tüm ASN1 alt sistem hataları için temel türdür. |
İşlevler |
|
---|---|
DumpASN1(ASN1Reader & reader, const char *prefix, const char *indent)
|
|
FormatASN1Error(char *buf, uint16_t bufSize, int32_t err)
|
bool
ASN1 hatası verildiğinde, hatayı açıklayan, kullanıcılar tarafından okunabilir NULL sonlandırılmış bir C dizesi döndürür.
|
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
|
Sınıflar |
|
---|---|
nl:: |
|
nl:: |
|
nl:: |
Sıralamalar
@334
@334
ASN1TagClasses
ASN1TagClasses
ASN1UniversalTags
ASN1UniversalTags
Türdefler
ASN1_ERROR
ASN1_CONFIG_ERROR_TYPE ASN1_ERROR
Tüm ASN1 alt sistem hataları için temel türdür.
Bu, platforma veya sisteme özgü bir türle tanımlanır.
İşlevler
DumpASN1
ASN1_ERROR DumpASN1( ASN1Reader & reader, const char *prefix, const char *indent )
FormatASN1Error
bool FormatASN1Error( char *buf, uint16_t bufSize, int32_t err )
ASN1 hatası verildiğinde, hatayı açıklayan, kullanıcılar tarafından okunabilir NULL sonlandırılmış bir C dizesi döndürür.
Ayrıntılar | |||||||
---|---|---|---|---|---|---|---|
Parametreler |
|
||||||
İadeler |
Sağlanan arabelleğe bir açıklama dizesi yazılmışsa true (doğru).
|
||||||
İadeler |
false (Sağlanan hata bir ASN1 hatası değilse).
|
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 )