>I just took a look at the tests. All of these tests >are sourcing an RSA key components from an xml file, >including the PrivateExponent. > > I am not sure this is the problem. When we are doing decryption we get the private key from a pkcs12 file. For encryption, we get public key from xml file. Aleksey