I was trying to make good use of the MS CAPI, and stumped into a great mischief... The SunMSCapi provider only, hmm, provides, per lack of better word, at least for signature, the following algorithms:
- MD2withRSA
- MD5withRSA
- SHA1withRSA
And I am not eager to make use of algorithms such GOST3411withECGOST3410
, or RIPEMD128withRSA
, that BouncyCastle makes use, but it would be nice, and in this particular case, quite important if not essential, to be able to sign in, at least, the SHA256withRSA
algorithm... (the 512 and so on and ECDSA encryption, would be a big plus, but i don't expect that much).
I am trying to find an alternative, but only found this wrapper, which looks fine, but I have to dig it a little more.
Does anyone knows another way, wrapper or provider to access mscapi (cryptoapi)?
Related:
SunMSCapi doc:
http://docs.oracle.com/javase/6/docs/technotes/guides/security/SunProviders.html#SunMSCAPIRequest for
SHA256withRSA
:
http://bugs.sun.com/view_bug.do?bug_id=6753664