I'm trying to extract the public key of an ECC pair.  The following doesn't 
work:
 
unsigned char array[1024];
privkey.MakePublicKey(pubkey);
StringSource ss(array, sizeof(array), true, new HexDecoder);
pubkey.DEREncodeKey(ss);
 
What should?
 
Thanks for any insight.
 
Cheers, Scott

Reply via email to