Which versions of Java is Microsoft Crypto API (MSCAPI) compatible with??

  • Thread starter Thread starter Mounika_26
  • Start date Start date
M

Mounika_26

Guest
Which versions of Java is Microsoft Crypto API (MSCAPI) compatible with?? I am storing my private key in the Windows store and trying to read it to decrypt SAML assertion, but facing an error "java.security.InvalidKeyException: No installed provider supports this key: sun.security.mscapi.CPrivateKey". I get a similar error with Amazon Corretto JDK 11 and Oracle Java 1.8. So, wanted to know if it is possible to use the private key read from the MMC to validate/decrypt a token or is it restricted.

Continue reading...
 
Back
Top