I have written a public key encryption and private key decryption algorithm in Java. I now need the private key decryption part to be converted to VB.Net V2.0 in visiual studio 2005 so that the encryption can still be done using the java encryption but the Visual basic project can do the decryption.
Attached are the classes for encrypt and decrypt.
You only need to convert the decrypt.
To ensure that your vb.net programe is working as required please set it to decrypt the following line which will first need to be converted from a hex string to a byte array and then passed through the private key decryption:
The certificate information is included in the java files.