diff options
author | Danesh Dadachanji <[email protected]> | 2012-04-05 10:57:16 -0400 |
---|---|---|
committer | Danesh Dadachanji <[email protected]> | 2012-04-05 10:57:16 -0400 |
commit | 055577a36255b0ae4dc130793c12f5207c11bd2c (patch) | |
tree | bcf535437eb3356890832f5aa61d5cd9fa54a0fa /netx/net/sourceforge/jnlp/security/CertWarningPane.java | |
parent | 12ad2ce6a55c330241a2e02e4342f391d59bb409 (diff) |
Rename JarSigner to JarCertVerifier.
Diffstat (limited to 'netx/net/sourceforge/jnlp/security/CertWarningPane.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/security/CertWarningPane.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/netx/net/sourceforge/jnlp/security/CertWarningPane.java b/netx/net/sourceforge/jnlp/security/CertWarningPane.java index 79ad0ce..c095212 100644 --- a/netx/net/sourceforge/jnlp/security/CertWarningPane.java +++ b/netx/net/sourceforge/jnlp/security/CertWarningPane.java @@ -96,7 +96,7 @@ public class CertWarningPane extends SecurityDialogPanel { private void addComponents() { AccessType type = parent.getAccessType(); JNLPFile file = parent.getFile(); - Certificate c = parent.getJarSigner().getPublisher(); + Certificate c = parent.getCertVerifier().getPublisher(); String name = ""; String publisher = ""; @@ -222,7 +222,7 @@ public class CertWarningPane extends SecurityDialogPanel { JButton moreInfo = new JButton(R("ButMoreInformation")); moreInfo.addActionListener(new MoreInfoButtonListener()); - if (parent.getJarSigner().getRootInCacerts()) + if (parent.getCertVerifier().getRootInCacerts()) bottomLabel = new JLabel(htmlWrap(R("STrustedSource"))); else bottomLabel = new JLabel(htmlWrap(R("SUntrustedSource"))); @@ -239,7 +239,7 @@ public class CertWarningPane extends SecurityDialogPanel { private class MoreInfoButtonListener implements ActionListener { public void actionPerformed(ActionEvent e) { - SecurityDialog.showMoreInfoDialog(parent.getJarSigner(), + SecurityDialog.showMoreInfoDialog(parent.getCertVerifier(), parent); } } @@ -252,7 +252,7 @@ public class CertWarningPane extends SecurityDialogPanel { if (alwaysTrust != null && alwaysTrust.isSelected()) { try { KeyStore ks = KeyStores.getKeyStore(Level.USER, Type.CERTS); - X509Certificate c = (X509Certificate) parent.getJarSigner().getPublisher(); + X509Certificate c = (X509Certificate) parent.getCertVerifier().getPublisher(); CertificateUtils.addToKeyStore(c, ks); File keyStoreFile = new File(KeyStores.getKeyStoreLocation(Level.USER, Type.CERTS)); if (!keyStoreFile.isFile()) { |