I tried to make good use of MS CAPI and surpassed a huge evil in myself ... The SunMSCapi provider only, hmm, provides, for lack of a better word, at least for signature, the following algorithms:
- MD2withRSA
- MD5withRSA
- SHA1withRSA
And I do not want to use algorithms such as GOST3411withECGOST3410 , or RIPEMD128withRSA , which BouncyCastle uses, but it would be nice, and in this particular case, it is very important, if not essential, to be able to enter, at least, the SHA256withRSA algorithm ... (512 and so on and ECDSA encryption would be a big plus, but I do not expect this).
I am trying to find an alternative, but only found this shell that looks fine, but I need to dig it a bit.
Does anyone know another way, shell or provider to access mscapi (cryptoapi)?
on this topic:
java sha256 mscapi cryptoapi
marcelo-ferraz
source share