G
gcrasher
I am using the OpenNETCF.Security.Cryptography classes on a Dell Axim
running PocketPC 2003 and I am getting a NTE_NO_KEY error when trying
to use the RSACryptoServiceProvider class. The code runs fine on the
desktop but gives this error on the device and emulator. Code is
nothing special:
RSACryptoServiceProvider rsa = new RSACryptoServiceProvider();
rsa.FromXmlString(rsaPrivKey);
byte[] rgbPlaintext = rsa.DecryptValue(ciphertext);
I am able to decrypt using RC2CryptoServiceProvider on the emulator
(have to still try the device but I assume it would work). The author
of this code had posted before to check the bNb.Sec.Context.IsEnhanced
flag, and it is returning true on the emulator but the code still does
not work. Has anyone been able to get RSA encryption working with
PocketPC 2003? If so I am wondering why I would be getting this error?
running PocketPC 2003 and I am getting a NTE_NO_KEY error when trying
to use the RSACryptoServiceProvider class. The code runs fine on the
desktop but gives this error on the device and emulator. Code is
nothing special:
RSACryptoServiceProvider rsa = new RSACryptoServiceProvider();
rsa.FromXmlString(rsaPrivKey);
byte[] rgbPlaintext = rsa.DecryptValue(ciphertext);
I am able to decrypt using RC2CryptoServiceProvider on the emulator
(have to still try the device but I assume it would work). The author
of this code had posted before to check the bNb.Sec.Context.IsEnhanced
flag, and it is returning true on the emulator but the code still does
not work. Has anyone been able to get RSA encryption working with
PocketPC 2003? If so I am wondering why I would be getting this error?