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, OSUINT32* 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, OSUINT32 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, OSUINT32 nchars,
00318 const OSUTF8CHAR* elemName, OSXMLNamespace* pNS);
00319
00320
00321
00338 EXTERNXML int rtAsn1XmlFmtAttrStr
00339 (OSCTXT* pctxt, const OSUTF8CHAR* name, const OSUTF8CHAR* value,
00340 OSUTF8CHAR** pAttrStr);
00341
00356 EXTERNXML int rtAsn1XmlParseAttrStr
00357 (OSCTXT* pctxt, const OSUTF8CHAR* pAttrStr, OSUTF8NVP* pNVPair);
00358
00373 EXTERNXML int rtAsn1XmlAddAnyAttr
00374 (OSCTXT* pctxt, const OSUTF8CHAR *name, const OSUTF8CHAR *value,
00375 OSRTDList* plist);
00376
00390 EXTERNXML int rtAsn1XmlpDecDynBitStr (OSCTXT* pctxt, ASN1DynBitStr* pvalue);
00391
00409 EXTERNXML int rtXmlpDecListOfASN1DynBitStr (OSCTXT* pctxt, OSRTDList* plist);
00410
00423 EXTERNXML int rtAsn1XmlpDecRelOID (OSCTXT* pctxt, ASN1OBJID *pvalue);
00424
00428 #ifdef __cplusplus
00429 }
00430 #endif
00431
00432 #endif