Originally posted by Rubal Sidhu:
Hello,I am new to Security & I think I am not generating keystore correctly.Can you tell me how to generate correct keystore for my code to work.
Thanks,
Rouble
Until you say what you are trying to do it is difficult so say what is wrong. In your original code you were creating a key that is normally used for digital signatures and then trying to use it for DES encryption.
So, again, what are you trying to do?