|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ssonet.net.CheckCertificateDialog
This dialog can be used to show a certificate to the user, so that he can accept or reject it.
Field Summary | |
javax.swing.JDialog |
dialog
|
Constructor Summary | |
CheckCertificateDialog(java.lang.String certificateName,
java.security.cert.X509Certificate certificate,
javax.swing.JFrame parentFrame)
tests interactively a certificate |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
This method performs actions according to the buttons pressed. |
static boolean |
getAnswer(java.lang.String certificateName,
java.security.cert.X509Certificate certificate)
tests interactively a certificate. |
static boolean |
getAnswer(java.lang.String certificateName,
java.security.cert.X509Certificate certificate,
javax.swing.JFrame parentFrame)
tests interactively a certificate The dialog is shown under the given parent frame. |
static long |
getInteractiveTime()
Returns the time the dialog was showing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public javax.swing.JDialog dialog
Constructor Detail |
public CheckCertificateDialog(java.lang.String certificateName, java.security.cert.X509Certificate certificate, javax.swing.JFrame parentFrame)
certificateName
- description of the certificatecertificate
- communications partner certificateparentFrame
- parent frameMethod Detail |
public static boolean getAnswer(java.lang.String certificateName, java.security.cert.X509Certificate certificate)
certificateName
- description of the certificatecertificate
- communications partner certificate
public static boolean getAnswer(java.lang.String certificateName, java.security.cert.X509Certificate certificate, javax.swing.JFrame parentFrame)
certificateName
- description of the certificatecertificate
- communications partner certificateparentFrame
- parent frame
public static long getInteractiveTime()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
event
- the ActionEvent generated by the buttons
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |