From: Sam C. <spe...@ho...> - 2006-11-03 09:08:03
|
Hello all, I use openPGP to interact with PGPDesktop-handled files. I read and basically understood the examples, but I still have questions. It's OK to generate pkr/skr files as key files thanks to the examples, but I didn't find how to use a skr file to decrypt. I try to replace new FileInputStream("bob-secret.pgp.asc"); with new FileInputStream("e:/secring.skr"); in Decrypt.java, but I get a InvalidKeyException. I also have a .pgp encrypted file (PGPDesktop format), but in the example a .pgp.asc file is used. I guess there is a trick to be able to decrypt my .pgp file, but how ? Also, is it possible to encrypt with openPGP in .pgp format instead of .asc ? Hope these questions don't look too stupid, but I'm a newbie with encryption. I'll really appreciate any kind of help. Thanks in advance. Best regards. Sam _________________________________________________________________ Retrouvez tout en un clin d'oeil avec Live Search ! http://www.live.com/?mkt=fr-fr |