How do I sign a JAR file using jarsigner?
Need secure date based lisence protection that will allow me to kill execution of a servlet after x days without a new key. I need help building a lisence protection scheme into a servlet that will stop execution after any certain number of days. I figure the best way to do this would be to place a date inside of an encrypted file and check against that date in the doXXX methods of the servlet. I have 2 questions: 1) Whats the best method of encrypting the “key” file with the valid date 2) Is there a built in date change listener in java? This would be usefull in case someone chooses to roll back their system clock to avoid shutdown. Any help would be greatly appreciated.