If i create a keystore and sign a jar with this commands:
keytool -genkey -alias myalias -keyalg RSA -validity 365 -keystore keys/my.keystore
jarsigner -verbose -keystore keys/my.keystore -signedjar my_signed.jar my_unsigned.jar myalias
Then i would generate a certificate which is 365 days valid. What does happen to the jar file after 365 days? Is it still runnable? Can someone still get the signer of it when he uses "jarsigner verify"? How can the certificate be update?