Re: IKeys.FromXmlString returns access denied - WeOnlyDo Discussion board

Re: IKeys.FromXmlString returns access denied (General questions)

by bdowns, Wednesday, August 25, 2010, 00:06 (5203 days ago) @ wodDamir

I resolved the FromXmlString issue by copying my string into a new CComBSTR variable. It must not have liked my wchar_t*.

Now I'm not able to get the private key out:
BSTR privkey;
hr = pKeys->get_PrivateKey(RSAkey, &privkey);

privkey appears to have a length of 625, but a printf() prints nothing.


Complete thread: