M
Marco A. Cruz Quevedo
i everybody,
I want to develop a simple encryption program that does the following
(in pseudocode)
----
mycert = opencert("mycert.cer");
publickey pubkey = mycert.getPublicKey();
string message = readfile("MessageFile.txt");
string scrambled = encrypt(message,pubkey);
writefile("encrypted",scrambled);
----
The certificate was generated by keytool and exported by
keytool -exportcert -alias myself -rfc -file mycert.cer
I have been reading many java documentation files but I cannot figure
out which classes I should use.
Any advice will be greatly appreciated.
Regards,
Marco A. Cruz Quevedo.
I want to develop a simple encryption program that does the following
(in pseudocode)
----
mycert = opencert("mycert.cer");
publickey pubkey = mycert.getPublicKey();
string message = readfile("MessageFile.txt");
string scrambled = encrypt(message,pubkey);
writefile("encrypted",scrambled);
----
The certificate was generated by keytool and exported by
keytool -exportcert -alias myself -rfc -file mycert.cer
I have been reading many java documentation files but I cannot figure
out which classes I should use.
Any advice will be greatly appreciated.
Regards,
Marco A. Cruz Quevedo.