Digital certificate viewer utility in windows from java

Is there any tool which displays the whole contents of digital certificate which can be called from a java program. The input to the program will be an X509Certificate object. I am working only on Windows OS. So even if the utility is a exe file even then its not a problem.

Thanks.

[295 byte] By [.@_a] at [2007-11-27 10:39:53]
# 1

keytool

ejpa at 2007-7-28 19:03:41 > top of Java-index,Security,Cryptography...
# 2

keytool is only command line tool. Is there any tool with GUI? like the windows certificate viewer. When you double click a .cer file in windows it displays complete details of the certificate. Like that i need a tool. Even the information of activating this windows tool from will also be helpful.

Thanks

.@_a at 2007-7-28 19:03:41 > top of Java-index,Security,Cryptography...
# 3

Err... - why not use the 'windows certificate viewer' since you say you are happy with it and you are happy with an exe solution.

sabre150a at 2007-7-28 19:03:41 > top of Java-index,Security,Cryptography...