From: Francisco J. R. L. <fra...@gm...> - 2008-02-26 17:40:36
|
Hi everybody, I am new with cryptography stuff and I am working on a program that needs to encrypt and sign large files using cryptix openpgp, I am currently running the samples GenereteAndWriteKey and StreamEncrypt, then I am going to run StreamEncryptSign example. I am working on Windows XP Professional, Java SE 5, MyEclipse 6. For now, I have the following jar files in a lib folder in my MyEclipse project: certpath-api-compat.jar cryptix-jce-provider.jar cryptix-message-api.jar cryptix-openpgp-provider.jar cryptix-pki-api.jar I have a question for the moment, How a Key/Key pair can be generated with an expiration date? In the GenerateAndWriteKey example, running on debug mode, in the watch/inspect variables, each key, pubkey and privkey has a packet member; this packet contains an expire member (int). What does it mean that expiration date and what values are permitted to this variable? I guess the value 0 means never expires. Regards and thank you for your time, Francisco Rosas |