hu_ARC4ParamsDestroy()

Destroys an ARC4 parameters object.

Synopsis:

#include "huarc4.h"
 
int hu_ARC4ParamsDestroy(sb_Params *arc4Params, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

arc4Params

ARC4 parameters object pointer.

sbCtx

A global context.

Library:

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

Description:

ARC4 contexts and key objects must be destroyed before their corresponding ARC4 parameters object is destroyed.

Returns:

SB_ERR_NULL_PARAMS_PTR

The arc4Params parameters object pointer is NULL.

SB_ERR_NULL_PARAMS

The arc4Params parameters object is NULL.

SB_ERR_BAD_PARAMS

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

SB_SUCCESS

Success.