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
00055 EXTERNXML int rtAsn1XmlpDecGenTime
00056 (OSCTXT* pctxt, const char** outdata);
00057
00072 EXTERNXML int rtAsn1XmlpDecReal (OSCTXT* pctxt, OSREAL* pvalue);
00073
00086 EXTERNXML int rtAsn1XmlpDecObjId (OSCTXT* pctxt, ASN1OBJID* pvalue);
00087
00104 EXTERNXML int rtAsn1XmlpDecOpenType (OSCTXT *pctxt, ASN1OpenType* pOpenType);
00105
00120 EXTERNXML int rtAsn1XmlpDecUnivStr
00121 (OSCTXT* pctxt, const OS32BITCHAR** ppdata, OSSIZE* pnchars);
00122
00123
00138 EXTERNXML int rtAsn1XmlpDecUTCTime
00139 (OSCTXT* pctxt, const char** outdata);
00140
00161 EXTERNXML int rtAsn1XmlEncGenTime
00162 (OSCTXT *pctxt, const char* value, const OSUTF8CHAR* elemName,
00163 const OSUTF8CHAR* nsPrefix);
00164
00184 EXTERNXML int rtAsn1XmlEncUTCTime
00185 (OSCTXT *pctxt, const char* value, const OSUTF8CHAR* elemName,
00186 const OSUTF8CHAR* nsPrefix);
00187
00208 EXTERNXML int rtAsn1XmlEncObjId
00209 (OSCTXT *pctxt, const ASN1OBJID *pvalue, const OSUTF8CHAR* elemName,
00210 const OSUTF8CHAR* nsPrefix);
00211
00230 EXTERNXML int rtAsn1XmlEncReal
00231 (OSCTXT *pctxt, OSREAL value, const OSUTF8CHAR* elemName,
00232 const OSUTF8CHAR* nsPrefix);
00233
00234
00255 EXTERNXML int rtAsn1XmlEncRelOID
00256 (OSCTXT *pctxt, const ASN1OBJID *pvalue, const OSUTF8CHAR* elemName,
00257 const OSUTF8CHAR* nsPrefix);
00258
00278 EXTERNXML int rtAsn1XmlEncOpenType
00279 (OSCTXT *pctxt, const OSOCTET* data, OSSIZE nocts,
00280 const OSUTF8CHAR* elemName, const OSUTF8CHAR* nsPrefix);
00281
00296 EXTERNXML int rtAsn1XmlEncOpenTypeExt (OSCTXT* pctxt, OSRTDList* pElemList);
00297
00316 EXTERNXML int rtAsn1XmlEncUnivStr
00317 (OSCTXT* pctxt, const OS32BITCHAR* value, OSSIZE nchars,
00318 const OSUTF8CHAR* elemName, OSXMLNamespace* pNS);
00319
00336 EXTERNXML int rtAsn1XmlFmtAttrStr
00337 (OSCTXT* pctxt, const OSUTF8CHAR* name, const OSUTF8CHAR* value,
00338 OSUTF8CHAR** pAttrStr);
00339
00354 EXTERNXML int rtAsn1XmlParseAttrStr
00355 (OSCTXT* pctxt, const OSUTF8CHAR* pAttrStr, OSUTF8NVP* pNVPair);
00356
00371 EXTERNXML int rtAsn1XmlAddAnyAttr
00372 (OSCTXT* pctxt, const OSUTF8CHAR *name, const OSUTF8CHAR *value,
00373 OSRTDList* plist);
00374
00387 EXTERNXML int rtAsn1XmlpDecDynBitStr (OSCTXT* pctxt, ASN1DynBitStr* pvalue);
00388
00404 EXTERNXML int rtAsn1XmlpDecDynBitStr64 (OSCTXT* pctxt, ASN1DynBitStr64* pvalue);
00405
00423 EXTERNXML int rtXmlpDecListOfASN1DynBitStr (OSCTXT* pctxt, OSRTDList* plist);
00424
00437 EXTERNXML int rtAsn1XmlpDecRelOID (OSCTXT* pctxt, ASN1OBJID *pvalue);
00438
00442 #ifdef __cplusplus
00443 }
00444 #endif
00445
00446 #endif