Converts public key reconstruction data into a public key using the CA's public key and a hash of the certificate.
#include "huecc.h"
int hu_ECQVPubKeyConv(sb_Params eccParams, sb_PublicKey publicKeyReconstData, sb_PublicKey caPublicKey, size_t digestLen, const unsigned char *messageDigest, sb_PublicKey *publicKey, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
An ECC parameters object.
An ECC public key object of the public key reconstruction data.
An ECC public key object of CA's public key.
The length of the message digest.
Message digest of the certificate.
ECC public key object pointer of the resulting public key.
A global context.
Please note that this is function does not perform any hashing, and therefore, the message digest of the certificate must be supplied in messageDigest.
The eccParams object is NULL.
The tag for the params object is not of the expected type.
The publicKeyReconstData object is NULL.
The publicKeyReconstData object is invalid.
The caPublicKey object is NULL.
The caPublicKey object is invalid.
Message digest pointer is NULL.
Message digest length is zero.
The publicKey object pointer is NULL.
Memory allocation failure.
Success.