This is a helper function to convert an P6ASN1INTEGER type into a P6INT32 type.
The caller knows from the ASN.1 syntax that a 32 bit signed value is expected.
- Parameters
-
pIValue | [ in ] typically an P6ASN1INTEGER variable returned from decodeInteger |
pValue | [ out ] the P6INT32 equivalent of the value stored in the P6ASN1INTEGER type |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to initialize was not made before this call. |
P6R::eInvalidArg | One of the parameters is NULL. |
P6R::eTooBig | Any integer larger than 8 octets (64 bits) is not handled. |
P6R::eInvalidState | The P6ASN1INTEGER type has invalid values |