Package net.sourceforge.jnlp.security
Class SecurityDialog
java.lang.Object
net.sourceforge.jnlp.security.SecurityDialog
Provides methods for showing security warning dialogs for a wide range of
JNLP security issues. Note that the security dialogs should be running in the
secure AppContext - this class should not be used directly from an applet or
application. See
SecurityDialogs
for a way to show security dialogs.-
Method Summary
Modifier and TypeMethodDescriptiongetCert()
getFile()
net.sourceforge.jnlp.security.dialogs.SecurityDialogPanel
net.sourceforge.jnlp.security.dialogresults.DialogResult
getValue()
net.sourceforge.jnlp.security.dialogs.ViwableDialog
boolean
Returns if this dialog has been fully initialized yet.boolean
void
setValue
(net.sourceforge.jnlp.security.dialogresults.DialogResult value) static void
showCertInfoDialog
(CertVerifier certVerifier, Component parent) Displays CertPath information in a readable table format.static void
showMoreInfoDialog
(CertVerifier certVerifier, SecurityDialog parent) Shows more information regarding jar code signingstatic void
showSingleCertInfoDialog
(X509Certificate c, Window parent) Displays a single certificate's information.
-
Method Details
-
isInitialized
public boolean isInitialized()Returns if this dialog has been fully initialized yet.- Returns:
- true if this dialog has been initialized, and false otherwise.
-
showMoreInfoDialog
Shows more information regarding jar code signing- Parameters:
certVerifier
- the JarCertVerifier used to verify this applicationparent
- the parent option pane
-
showCertInfoDialog
Displays CertPath information in a readable table format.- Parameters:
certVerifier
- the JarCertVerifier used to verify this applicationparent
- the parent option pane
-
showSingleCertInfoDialog
Displays a single certificate's information.- Parameters:
c
- the X509 certificate.parent
- the parent pane.
-
getAccessType
-
getFile
-
getCertVerifier
-
getCert
-
setValue
public void setValue(net.sourceforge.jnlp.security.dialogresults.DialogResult value) -
getValue
public net.sourceforge.jnlp.security.dialogresults.DialogResult getValue() -
requiresSignedJNLPWarning
public boolean requiresSignedJNLPWarning() -
getViwableDialog
public net.sourceforge.jnlp.security.dialogs.ViwableDialog getViwableDialog() -
getSecurityDialogPanel
public net.sourceforge.jnlp.security.dialogs.SecurityDialogPanel getSecurityDialogPanel()
-