IKeys.FromXmlString returns access denied - WeOnlyDo Discussion board

IKeys.FromXmlString returns access denied (General questions)

by bdowns, Tuesday, August 24, 2010, 22:46 (5203 days ago)

I am getting access denied calling IKeys.FromXmlString(str). My intent is to extract the private key.

i.e.
pKeys.CreateInstance (CLSID_Keys, NULL);

BSTR sXml = L ... RSAKeyValue ... ;

hr = pKeys.FromXmlString(sXml);
// hr is access denied

BSTR privkey = pKeys.PrivateKey(RSAkey);


Complete thread: