hu_GlobalCtxCopyCrypto()

Copy all the crypto from one SB global context into another one.

Synopsis:

#include "huctx.h"
 
int hu_GlobalCtxCopyCrypto(sb_GlobalCtx srcSbCtx, sb_GlobalCtx destSbCtx)

Since:

BlackBerry 10.0.0

Arguments:

srcSbCtx

The source SB global context.

destSbCtx

The destination SB global context.

Library:

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

Description:

The destination context must be initialized prior to this call.

Returns:

SB_ERR_NULL_GLOBAL_CTX

The srcSbCtx and/or destSbCtx arguments are NULL.