hu_RSAParamsGet()

Retrieves settings from an RSA parameters object.

Synopsis:

#include "hursa.h"
 
int hu_RSAParamsGet(sb_Params rsaParams, size_t *modulusSize, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

rsaParams

RSA parameters object.

modulusSize

The length (in bits) of the RSA modulus.

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 rsaParams object is NULL.

SB_ERR_BAD_PARAMS

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

SB_ERR_NULL_OUTPUT

The output buffer is NULL.

SB_SUCCESS

Success.