Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cert Expiration Date in Jar Files

1,392 views
Skip to first unread message

Joe

unread,
Nov 22, 2005, 6:51:55 AM11/22/05
to
Is there any way to reveal the expiration date of the digital
certificate used to sign a jar file - by only having the signed
jar file available?

Joe

P.S. Please also e-mail to joe_@_mcmahon.com after removing the
underscores from my e-mail address. Thanks.

Ben_

unread,
Nov 22, 2005, 8:06:16 AM11/22/05
to
It's likely all certificate information is in the jar:
"
The Signature Block (.DSA) File
The .SF file is signed and the signature is placed in the .DSA file. The
.DSA file also contains, encoded inside it, the certificate or certificate
chain from the keystore which authenticates the public key corresponding to
the private key used for signing.
"
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/jarsigner.html

jarsigner -verify -verbose -certs my.jar will display some details but not
all.

Maybe it requires a bit of programming to get the information you want ?


0 new messages