asn1xer.h File Reference
#include "rtsrc/asn1type.h"
#include "rtxsrc/rtxMemBuf.h"
#include "rtxersrc/rtSAXDefs.h"
Go to the source code of this file.
Classes | |
struct | XerElemInfo |
struct | XmlNamedBitsDict |
Defines | |
#define | XERINDENT 3 |
#define | XERBYTECNT(pctxt) (pctxt)->buffer.byteIndex |
#define | EXTERNXER |
Typedefs | |
typedef struct XmlNamedBitsDict | XmlNamedBitsDict |
Enumerations | |
enum | ASN1XERState { XERINIT, XERSTART, XERDATA, XEREND, XERSTART0, XEREND0 } |
Functions | |
int | xerDecBMPStr (OSCTXT *pctxt, ASN1BMPString *outdata) |
int | xerDecBase64Str (OSCTXT *pctxt, OSOCTET *pvalue, OSUINT32 *pnocts, OSINT32 bufsize) |
int | xerDecBigInt (OSCTXT *pctxt, char **ppvalue, int radix) |
int | xerDecBitStr (OSCTXT *pctxt, OSOCTET *pvalue, OSUINT32 *pnbits, OSINT32 bufsize) |
int | xerDecBitStrMemBuf (OSRTMEMBUF *pMemBuf, const XMLCHAR *inpdata, int length, OSBOOL skipWhitespaces) |
int | xerDecBool (OSCTXT *pctxt, OSBOOL *pvalue) |
int | xerDecCopyBitStr (OSCTXT *pctxt, OSOCTET *pvalue, OSUINT32 *pnbits, OSINT32 bufsize, int lastBitOffset) |
int | xerDecCopyDynBitStr (OSCTXT *pctxt, ASN1DynBitStr *pvalue, int lastBitOffset) |
int | xerDecCopyDynOctStr (OSCTXT *pctxt, ASN1DynOctStr *pvalue, int lastBitOffset) |
int | xerDecCopyOctStr (OSCTXT *pctxt, OSOCTET *pvalue, OSUINT32 *pnocts, OSINT32 bufsize, int lastBitOffset) |
int | xerDecDynAscCharStr (OSCTXT *pctxt, const char **outdata) |
int | xerDecDynBase64Str (OSCTXT *pctxt, ASN1DynOctStr *pvalue) |
int | xerDecDynBitStr (OSCTXT *pctxt, ASN1DynBitStr *pvalue) |
int | xerDecDynOctStr (OSCTXT *pctxt, ASN1DynOctStr *pvalue) |
int | xerDecDynUTF8Str (OSCTXT *pctxt, ASN1UTF8String *outdata) |
int | xerDecInt (OSCTXT *pctxt, OSINT32 *pvalue) |
int | xerDecInt8 (OSCTXT *pctxt, OSINT8 *pvalue) |
int | xerDecInt16 (OSCTXT *pctxt, OSINT16 *pvalue) |
int | xerDecInt64 (OSCTXT *pctxt, OSINT64 *pvalue) |
int | xerDecObjId (OSCTXT *pctxt, ASN1OBJID *pvalue) |
int | xerDecObjId64 (OSCTXT *pctxt, ASN1OID64 *pvalue) |
int | xerDecOctStr (OSCTXT *pctxt, OSOCTET *pvalue, OSUINT32 *pnocts, OSINT32 bufsize) |
int | xerDecOctStrMemBuf (OSRTMEMBUF *pMemBuf, const XMLCHAR *inpdata, int length, OSBOOL skipWhitespaces) |
int | xerDecOpenType (OSCTXT *pctxt, ASN1OpenType *pvalue) |
int | xerDecReal (OSCTXT *pctxt, OSREAL *pvalue) |
int | xerDecReal10 (OSCTXT *pctxt, const OSUTF8CHAR **pvalue) |
int | xerDecRelativeOID (OSCTXT *pctxt, ASN1OBJID *pvalue) |
int | xerDecUInt (OSCTXT *pctxt, OSUINT32 *pvalue) |
int | xerDecUInt8 (OSCTXT *pctxt, OSUINT8 *pvalue) |
int | xerDecUInt16 (OSCTXT *pctxt, OSUINT16 *pvalue) |
int | xerDecUInt64 (OSCTXT *pctxt, OSUINT64 *pvalue) |
int | xerDecUnivStr (OSCTXT *pctxt, ASN1UniversalString *outdata) |
int | xerSetDecBufPtr (OSCTXT *pCtxt, const OSOCTET *bufaddr, size_t bufsiz) |
int | xerSetEncBufPtr (OSCTXT *pCtxt, OSOCTET *bufaddr, size_t bufsiz, OSBOOL canonical) |
int | xerEncAscCharStr (OSCTXT *pctxt, const char *value, const char *elemName) |
int | xerEncBase64Str (OSCTXT *pctxt, OSUINT32 nocts, const OSOCTET *data, const char *elemName) |
int | xerEncBigInt (OSCTXT *pctxt, const char *value, const char *elemName) |
int | xerEncBitStr (OSCTXT *pctxt, OSUINT32 nbits, const OSOCTET *data, const char *elemName, ASN1StrType outputType) |
int | xerEncBoolValue (OSCTXT *pctxt, OSBOOL value) |
int | xerEncBool (OSCTXT *pctxt, OSBOOL value, const char *elemName) |
int | xerEncEndDocument (OSCTXT *pctxt) |
int | xerEncEndElement (OSCTXT *pctxt, const char *elemName) |
int | xerEncIndent (OSCTXT *pctxt) |
int | xerEncInt (OSCTXT *pctxt, OSINT32 value, const char *elemName) |
int | xerEncInt64 (OSCTXT *pctxt, OSINT64 value, const char *elemName) |
int | xerEncNewLine (OSCTXT *pctxt) |
int | xerEncObjId (OSCTXT *pctxt, const ASN1OBJID *pvalue, const char *elemName) |
int | xerEncObjId64 (OSCTXT *pctxt, const ASN1OID64 *pvalue, const char *elemName) |
int | xerEncRelativeOID (OSCTXT *pctxt, const ASN1OBJID *pvalue, const char *elemName) |
int | xerEncOctStr (OSCTXT *pctxt, OSUINT32 nocts, const OSOCTET *data, const char *elemName) |
int | xerEncReal (OSCTXT *pctxt, OSREAL value, const char *elemName) |
int | xerEncReal10 (OSCTXT *pctxt, const OSUTF8CHAR *value, const char *elemName) |
int | xerEncStartDocument (OSCTXT *pctxt) |
int | xerEncStartElement (OSCTXT *pctxt, const char *elemName, const char *attributes) |
int | xerEncEmptyElement (OSCTXT *pctxt, const char *elemName, const char *attributes) |
int | xerEncNamedValue (OSCTXT *pctxt, const char *value, const char *elemName, const char *attributes) |
int | xerEncUInt (OSCTXT *pctxt, OSUINT32 value, const char *elemName) |
int | xerEncUInt64 (OSCTXT *pctxt, OSUINT64 value, const char *elemName) |
int | xerEncBMPStr (OSCTXT *pctxt, const ASN1BMPString *value, const char *elemName) |
int | xerEncUnivStr (OSCTXT *pctxt, const ASN1UniversalString *value, const char *elemName) |
int | xerEncUniCharData (OSCTXT *pctxt, const OSUNICHAR *value, OSUINT32 nchars) |
int | xerEncUniCharStr (OSCTXT *pctxt, OSUNICHAR *value, const char *elemName) |
int | xerEncOpenType (OSCTXT *pctxt, OSUINT32 nocts, const OSOCTET *data, const char *elemName) |
int | xerEncNull (OSCTXT *pctxt, const char *elemName) |
int | xerEncXmlCharData (OSCTXT *pctxt, const XMLCHAR *pvalue, int length) |
OSBOOL | xerCmpText (const XMLCHAR *text1, const char *text2) |
int | xerCopyText (OSCTXT *pctxt, const char *text) |
int | xerTextLength (const XMLCHAR *text) |
const char * | xerTextToCStr (OSCTXT *pctxt, const XMLCHAR *text) |
size_t | xerGetMsgLen (OSCTXT *pctxt) |
OSOCTET * | xerGetMsgPtr (OSCTXT *pctxt) |
int | xerGetElemIdx (const XMLCHAR *elemName, XerElemInfo *pElemInfo, int numElems) |
int | xerGetSeqElemIdx (const XMLCHAR *elemName, XerElemInfo *pElemInfo, int numElems, int startIndex) |
int | xerFinalizeMemBuf (OSRTMEMBUF *pMemBuf) |
int | xerGetLibVersion (OSVOIDARG) |
const char * | xerGetLibInfo (OSVOIDARG) |
int | xmlDecBitStr (OSCTXT *pctxt, OSOCTET *pvalue, OSUINT32 *pnbits, OSINT32 bufsize) |
int | xmlDecBool (OSCTXT *pctxt, OSBOOL *pvalue) |
int | xmlDecDynBitStr (OSCTXT *pctxt, ASN1DynBitStr *pvalue) |
int | xmlDecDynNamedBitStr (OSCTXT *pctxt, ASN1DynBitStr *pvalue, const XmlNamedBitsDict *pBitDict) |
int | xmlDecDynOctStr (OSCTXT *pctxt, ASN1DynOctStr *pvalue) |
int | xmlDecGeneralizedTime (OSCTXT *pctxt, const char **outdata) |
int | xmlDecNamedBitStr (OSRTMEMBUF *pMemBuf, OSOCTET *pData, int dataSize, OSUINT32 *pNumbits, const XmlNamedBitsDict *pBitDict, const XMLCHAR *chars, int length) |
int | xmlDecOctStr (OSCTXT *pctxt, OSOCTET *pvalue, OSUINT32 *pnocts, OSINT32 bufsize) |
int | xmlDecReal (OSCTXT *pctxt, OSREAL *pvalue) |
int | xmlDecUTCTime (OSCTXT *pctxt, const char **outdata) |
int | xmlEncBitStr (OSCTXT *pctxt, XmlNamedBitsDict *namedbits, OSUINT32 noofnamedbits, OSUINT32 nbits, const OSOCTET *data, const char *elemName, ASN1StrType outputType) |
int | xmlEncBoolValue (OSCTXT *pctxt, OSBOOL value) |
int | xmlEncBool (OSCTXT *pctxt, OSBOOL value, const char *elemName) |
int | xmlEncEnum (OSCTXT *pctxt, const char *value) |
int | xmlEncGeneralizedTime (OSCTXT *pctxt, const char *value, const char *elemName) |
int | xmlEncNamedValue (OSCTXT *pctxt, const char *value, const char *elemName, const char *attributes) |
int | xerEncOpenTypeExt (OSCTXT *pctxt, OSRTDList *pElemList) |
int | xmlEncReal (OSCTXT *pctxt, OSREAL value, const char *elemName) |
int | xmlEncUTCTime (OSCTXT *pctxt, const char *value, const char *elemName) |
Detailed Description
ASN.1 runtime constants, data structure definitions, and functions to support the XML Encoding Rules (XER) as defined in the ITU-T X.693 standard.