hu_MACKeyDestroy()

Destroys a MAC key object.

Synopsis:

#include "humac.h"
 
int hu_MACKeyDestroy(sb_Key *macKey, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

macKey

The MAC key object pointer.

sbCtx

A global context.

Library:

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

Description:

MAC contexts must be destroyed before MAC key objects.

Returns:

SB_ERR_NULL_KEY_PTR

The macKey object pointer is NULL.

SB_ERR_NULL_KEY

The macKey object is NULL.

SB_ERR_BAD_KEY

The macKey object is invalid.

Last modified: 2014-05-14



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

comments powered by Disqus