00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _ASN1XML_H_
00026 #define _ASN1XML_H_
00027
00028 #include "rtsrc/asn1type.h"
00029 #include "rtxmlsrc/osrtxml.h"
00030
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034
00051 EXTERNXML int rtAsn1XmlpDecObjId (OSCTXT* pctxt, ASN1OBJID* pvalue);
00052
00067 EXTERNXML int rtAsn1XmlpDecUnivStr
00068 (OSCTXT* pctxt, const OS32BITCHAR** ppdata, OSUINT32* pnchars);
00069
00090 EXTERNXML int rtAsn1XmlEncGenTime
00091 (OSCTXT *pctxt, const char* value, const OSUTF8CHAR* elemName,
00092 const OSUTF8CHAR* nsPrefix);
00093
00113 EXTERNXML int rtAsn1XmlEncUTCTime
00114 (OSCTXT *pctxt, const char* value, const OSUTF8CHAR* elemName,
00115 const OSUTF8CHAR* nsPrefix);
00116
00137 EXTERNXML int rtAsn1XmlEncObjId
00138 (OSCTXT *pctxt, const ASN1OBJID *pvalue, const OSUTF8CHAR* elemName,
00139 const OSUTF8CHAR* nsPrefix);
00140
00161 EXTERNXML int rtAsn1XmlEncRelOID
00162 (OSCTXT *pctxt, const ASN1OBJID *pvalue, const OSUTF8CHAR* elemName,
00163 const OSUTF8CHAR* nsPrefix);
00164
00184 EXTERNXML int rtAsn1XmlEncOpenType
00185 (OSCTXT *pctxt, const OSOCTET* data, OSUINT32 nocts,
00186 const OSUTF8CHAR* elemName, const OSUTF8CHAR* nsPrefix);
00187
00202 EXTERNXML int rtAsn1XmlEncOpenTypeExt (OSCTXT* pctxt, OSRTDList* pElemList);
00203
00223 EXTERNXML int rtAsn1XmlEncUnivStr
00224 (OSCTXT* pctxt, const OS32BITCHAR* value, OSUINT32 nchars,
00225 const OSUTF8CHAR* elemName, const OSUTF8CHAR* nsPrefix);
00226
00243 EXTERNXML int rtAsn1XmlFmtAttrStr
00244 (OSCTXT* pctxt, const OSUTF8CHAR* name, const OSUTF8CHAR* value,
00245 OSUTF8CHAR** pAttrStr);
00246
00261 EXTERNXML int rtAsn1XmlParseAttrStr
00262 (OSCTXT* pctxt, const OSUTF8CHAR* pAttrStr, OSUTF8NVP* pNVPair);
00263
00278 EXTERNXML int rtAsn1XmlAddAnyAttr
00279 (OSCTXT* pctxt, const OSUTF8CHAR *name, const OSUTF8CHAR *value,
00280 OSRTDList* plist);
00281
00295 EXTERNXML int rtAsn1XmlpDecDynBitStr (OSCTXT* pctxt, ASN1DynBitStr* pvalue);
00296
00314 EXTERNXML int rtXmlpDecListOfASN1DynBitStr (OSCTXT* pctxt, OSRTDList* plist);
00315
00328 EXTERNXML int rtAsn1XmlpDecRelOID (OSCTXT* pctxt, ASN1OBJID *pvalue);
00329
00333 #ifdef __cplusplus
00334 }
00335 #endif
00336
00337 #endif