This content has been marked as final. Show 3 replies
I suggest you specify the RSA key type.1 person found this helpful
DSA (Digital Signature Algorithm) keys, by definition, can only be used for digital signature and not for encryption. As EJP suggested, you must use the RSA key-type and the SHA1withRSA - I would recommend using SHA256withRSA - construct to enable message-confidentiality.
Thank you very much. This explains it.