Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IAsn1::skipField ( P6UINT8 pBuffer,
P6UINT32  bufSize,
P6UINT8  tag,
P6UINT32 index 
)
pure virtual

This method is used for parsing an ASN.1 encoded block of memory.

Its purpose is to make it easy to skip any field that is not currently of interest. It will skip the entire field, that is its TAG, LENGTH, and VALUE. The index value will point to the next field to be parsed.

Parameters
pBuffer[ in ] Byte array containg the ASN.1 encoded data to decode
bufSize[ in ] the amount of data (in bytes) pointed to by pBuffer
tag[ in ] the expected tag value
index[ in ] current offset into pBuffer, should be pointing to the length field of an integer tagged value [ out ] this index moves down the pBuffer data as the data is decoded
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidArgpBuffer is set to NULL.
P6R::eFormatErrorNot a properly formated ASN.1 (and BER) NULL value.
P6R::eTooBigNo next field to skip.