I am sorry If this is a stupid question. It has been driving me nuts.
I have some code that creates an RSA pub/priv key pair, writes these to disk, then creates a session key. Using this we encrypt a file. Up until here all is well.
Then we try to encrypt that session key with an RSA cipher, using the publicKey to initialize it.
So, Is it just that my Provider(s) do not support RSA Cipher's ?
I am using Sun's JCE and the implementation from Cryptix.