ASN.1-XML encode/decode functions.
Functions | |
| EXTERNXML int | rtAsn1XmlpDecObjId (OSCTXT *pctxt, ASN1OBJID *pvalue) |
| This function decodes the contents of an ASN.1 OBJECT IDENTIFIER type. | |
| EXTERNXML int | rtAsn1XmlpDecUnivStr (OSCTXT *pctxt, const OS32BITCHAR **ppdata, OSUINT32 *pnchars) |
| This function decodes the contents of an ASN.1 UNIVERSAL string type. | |
| EXTERNXML int | rtAsn1XmlEncGenTime (OSCTXT *pctxt, const char *value, const OSUTF8CHAR *elemName, const OSUTF8CHAR *nsPrefix) |
| This function encodes a variable of the ASN.1 GeneralizedTime type. | |
| EXTERNXML int | rtAsn1XmlEncUTCTime (OSCTXT *pctxt, const char *value, const OSUTF8CHAR *elemName, const OSUTF8CHAR *nsPrefix) |
| This function encodes a variable of the ASN.1 UTCTime type. | |
| EXTERNXML int | rtAsn1XmlEncObjId (OSCTXT *pctxt, const ASN1OBJID *pvalue, const OSUTF8CHAR *elemName, const OSUTF8CHAR *nsPrefix) |
| This function encodes a variable of the ASN.1 OBJECT IDENTIFIER type. | |
| EXTERNXML int | rtAsn1XmlEncRelOID (OSCTXT *pctxt, const ASN1OBJID *pvalue, const OSUTF8CHAR *elemName, const OSUTF8CHAR *nsPrefix) |
| This function encodes a variable of the ASN.1 RELATIVE-OID type. | |
| EXTERNXML int | rtAsn1XmlEncOpenType (OSCTXT *pctxt, const OSOCTET *data, OSUINT32 nocts, const OSUTF8CHAR *elemName, const OSUTF8CHAR *nsPrefix) |
| This function encodes a variable of the ASN.1 open type. | |
| EXTERNXML int | rtAsn1XmlEncOpenTypeExt (OSCTXT *pctxt, OSRTDList *pElemList) |
| This function encodes an ASN.1 open type extension. | |
| EXTERNXML int | rtAsn1XmlEncUnivStr (OSCTXT *pctxt, const OS32BITCHAR *value, OSUINT32 nchars, const OSUTF8CHAR *elemName, const OSUTF8CHAR *nsPrefix) |
| This function encodes a variable of the ASN.1 UNIVERSAL string type. | |
| EXTERNXML int | rtAsn1XmlFmtAttrStr (OSCTXT *pctxt, const OSUTF8CHAR *name, const OSUTF8CHAR *value, OSUTF8CHAR **pAttrStr) |
| This function formats a name-value XML pair into a name="value" attribute string. | |
| EXTERNXML int | rtAsn1XmlParseAttrStr (OSCTXT *pctxt, const OSUTF8CHAR *pAttrStr, OSUTF8NVP *pNVPair) |
| This function parses an XML name-value pair from an attribute string. | |
| EXTERNXML int | rtAsn1XmlAddAnyAttr (OSCTXT *pctxt, const OSUTF8CHAR *name, const OSUTF8CHAR *value, OSRTDList *plist) |
| This function formats an attribute string and adds it to the attribute list. | |
| EXTERNXML int | rtAsn1XmlpDecDynBitStr (OSCTXT *pctxt, ASN1DynBitStr *pvalue) |
| This function decodes a bit string value. | |
| EXTERNXML int | rtXmlpDecListOfASN1DynBitStr (OSCTXT *pctxt, OSRTDList *plist) |
| This function decodes a list of space-separated bit strings and returns each bit string as a separate item on the given list. | |
| EXTERNXML int | rtAsn1XmlpDecRelOID (OSCTXT *pctxt, ASN1OBJID *pvalue) |
| This function decodes the contents of an ASN.1 RELATIVE-OID type. | |
Function Documentation
|
||||||||||||||||||||
|
This function formats an attribute string and adds it to the attribute list.
|
|
||||||||||||||||||||
|
This function encodes a variable of the ASN.1 GeneralizedTime type. It performs conversion from ASN.1 time format into the XML dateTime format.
|
|
||||||||||||||||||||
|
This function encodes a variable of the ASN.1 OBJECT IDENTIFIER type.
|
|
||||||||||||||||||||||||
|
This function encodes a variable of the ASN.1 open type. It copies the data as it exists in the structure to the encode buffer or stream.
|
|
||||||||||||
|
This function encodes an ASN.1 open type extension. This occurs in a SEQUENCE or SET type when a ... is present. The type is represented as a list of open type structures.
|
|
||||||||||||||||||||
|
This function encodes a variable of the ASN.1 RELATIVE-OID type.
|
|
||||||||||||||||||||||||
|
This function encodes a variable of the ASN.1 UNIVERSAL string type.
|
|
||||||||||||||||||||
|
This function encodes a variable of the ASN.1 UTCTime type. It performs conversion from ASN.1 time format into the XML dateTime format.
|
|
||||||||||||||||||||
|
This function formats a name-value XML pair into a name="value" attribute string.
|
|
||||||||||||||||
|
This function parses an XML name-value pair from an attribute string.
|
|
||||||||||||
|
This function decodes a bit string value. The string consists of a series of '1' and '0' characters. This is the dynamic version in which memory is allocated for the returned binary string variable. Bits are stored from MSB to LSB order.
|
|
||||||||||||
|
This function decodes the contents of an ASN.1 OBJECT IDENTIFIER type. Input is expected to be a string of OSUTF8CHAR characters returned by an XML pull parser.
|
|
||||||||||||
|
This function decodes the contents of an ASN.1 RELATIVE-OID type. Input is expected to be a string of OSUTF8CHAR characters returned by an XML pull parser.
|
|
||||||||||||||||
|
This function decodes the contents of an ASN.1 UNIVERSAL string type. Input is expected to be a string of OSUTF8CHAR characters returned by an XML pull parser.
|
|
||||||||||||
|
This function decodes a list of space-separated bit strings and returns each bit string as a separate item on the given list. The string consists of a series of '1' and '0' characters. Memory is allocated for the list nodes and token values using the rtx memory management functions. Bits are stored from MSB to LSB order.
|
