Recovers the secret.
#include "huks.h"
int hu_KSGetSecret(sb_Context ksContext, size_t *secretLen, unsigned char *secret, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
A Key Split context.
Size of secret in bytes.
Value of secret.
A global context.
The size of output buffer specified in secret must be sufficiently large, and the size must be indicated in secretLen.
If NULL is passed in as the value of secret, this function will return the buffer length required to store secret. The length will be returned in secretLen.
Key Split context is NULL.
Key Split context is invalid.
secretLen is NULL.
Insufficient output buffer.
Success.