RSA/ECB/Pkcs1Padding with private key in CryptoAPI
793903Jun 8 2009 — edited Jul 21 2009Hi,
Does anybody know, how to implement RSA/ECB/Pkcs1Padding in CryptoAPI, assuming I have only handle to my non-exportable private key? Java Cipher gives me always the same result, when I try to implement this in CryptoAPI, I get always different result and their documentation(msdn) doesn't provide any info, what's happening inside. I tried to set ECB and PKCS#1 padding in C++ manually, still it's not working.
I'm implementing this to my own JCE provider, because I have to use java 1.4.2 and need to use SSL with client authentication. I can't use anything else, because I have to work with windows key stores, which is the main role of my JCE provider.