Destroys a public and/or private key object.
#include "hupkc.h"
int hu_KeyPairDestroy(sb_Params params, sb_PrivateKey *privateKey, sb_PublicKey *publicKey, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
A parameters object pointer.
The private key object pointer.
The public key object pointer.
A global context.
The context for the key object(s) must be destroyed before the key object(s) are destroyed. After the key object(s) are destroyed, the corresponding parameters object can be destroyed.
The params 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.