Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IAsn1_2::toP6Uint64_2 ( P6ASN1INTEGER pIValue,
P6UINT64 pValue 
)
pure virtual

This is a helper function to convert an P6ASN1INTEGER type into a P6INT32 type.

The caller knows from the ASN.1 syntax that a 64 bit unsigned value is expected.

Parameters
pIValue[ in ] typically an P6ASN1INTEGER variable returned from decodeInteger
pValue[ out ] the P6UINT64 equivalent of the value stored in the P6ASN1INTEGER type
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidArgOne of the parameters is NULL.
P6R::eInvalidStateThe P6ASN1INTEGER type has invalid values
P6R::eFormatErrorThe value contained in iValue is a negative number conversion not possible.