Re: IKeys.FromXmlString returns access denied (General questions)
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:
- IKeys.FromXmlString returns access denied - bdowns, 2010-08-24, 22:46
- Re: IKeys.FromXmlString returns access denied - wodDamir, 2010-08-24, 23:05
- Re: IKeys.FromXmlString returns access denied - bdowns, 2010-08-25, 00:06
- Re: IKeys.FromXmlString returns access denied - bdowns, 2010-08-25, 20:52
- Re: IKeys.FromXmlString returns access denied - janet986w, 2010-09-18, 03:58
- Re: IKeys.FromXmlString returns access denied - bdowns, 2010-08-25, 20:52
- Re: IKeys.FromXmlString returns access denied - bdowns, 2010-08-25, 00:06
- Re: IKeys.FromXmlString returns access denied - wodDamir, 2010-08-24, 23:05