hu_AuthEncKeyDestroy()

Destroys an Authenticated Encryption key object.

Synopsis:

#include "huauthenc.h"
 
int hu_AuthEncKeyDestroy(sb_Key *authEncKey, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

authEncKey

The Authenticated Encryption key object pointer.

sbCtx

Global context.

Library:

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

Description:

The symmetric key object used to create the Authenticated Encryption key object must be destroyed after the Authenticated Encryption key object.

Returns:

SB_ERR_NULL_KEY_PTR

The authEncKey object pointer is NULL.

SB_ERR_NULL_KEY

The authEncKey object is NULL.

SB_ERR_BAD_KEY

The authEncKey object is invalid.

SB_SUCCESS

Success.

Last modified: 2014-05-14



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

comments powered by Disqus