Destroys an ECC private and/or public key object.
#include "huecc.h"
int hu_ECCKeyDestroy(sb_Params eccParams, sb_PrivateKey *privateKey, sb_PublicKey *publicKey, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
An ECC parameters object.
An ECC private key object pointer.
An ECC public key object pointer.
A global context.
ECC key objects must be destroyed before the ECC parameters object is destroyed.
The eccParams object is NULL.
The tag for the params object is not of the expected type.
The privateKey object is NULL.
The privateKey object is invalid.
The publicKey object is NULL.
The publicKey object is invalid.
Success.