hu_ARC2ParamsDestroy()

Destroys an ARC2 parameters object.

Synopsis:

#include "huarc2.h"
 
int hu_ARC2ParamsDestroy(sb_Params *arc2Params, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

arc2Params

The ARC2 parameters object pointer.

sbCtx

A global context.

Library:

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

Description:

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

Returns:

SB_ERR_NULL_PARAMS_PTR

The arc2Params parameters object pointer is NULL.

SB_ERR_NULL_PARAMS

The arc2Params parameters object is NULL.

SB_ERR_BAD_PARAMS

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

SB_SUCCESS

Success.