hu_ECCParamsInfo()

Retrieves the ECC curve identifier from an ECC parameters object.

Synopsis:

#include "huecc.h"
 
int hu_ECCParamsInfo(sb_Params eccParams, int *curve, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

eccParams

An ECC parameters object.

curve

The curve identifier.

sbCtx

A global context.

Library:

libhuapi (For the qcc command, use the -l huapi option to link against this library)

Description:

Returns:

SB_ERR_NULL_PARAMS

The eccParams object is NULL.

SB_ERR_BAD_PARAMS

The tag for the params object is not of the expected type.

SB_ERR_NULL_OUTPUT

The curve identifier pointer is NULL.

SB_SUCCESS

Success.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus