diff options
author | Adam Domurad <[email protected]> | 2012-10-19 14:34:16 -0400 |
---|---|---|
committer | Adam Domurad <[email protected]> | 2012-10-19 14:34:16 -0400 |
commit | eca6b5289555031b31da4721800f5031c87bb309 (patch) | |
tree | 45378524fa07783879a1b21d90538b763538df8a /netx/net/sourceforge/jnlp/security/AppVerifier.java | |
parent | e150560769232e18fa516609933649dab002f358 (diff) |
Use interface types in JCV classes where applicable
Diffstat (limited to 'netx/net/sourceforge/jnlp/security/AppVerifier.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/security/AppVerifier.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/netx/net/sourceforge/jnlp/security/AppVerifier.java b/netx/net/sourceforge/jnlp/security/AppVerifier.java index 2fc1ec0..95c608f 100644 --- a/netx/net/sourceforge/jnlp/security/AppVerifier.java +++ b/netx/net/sourceforge/jnlp/security/AppVerifier.java @@ -38,7 +38,7 @@ exception statement from your version. package net.sourceforge.jnlp.security; import java.security.cert.CertPath; -import java.util.HashMap; +import java.util.Map; import net.sourceforge.jnlp.JNLPFile; import net.sourceforge.jnlp.LaunchException; @@ -58,8 +58,8 @@ public interface AppVerifier { * @return True if the app trusts its publishers. */ public boolean hasAlreadyTrustedPublisher( - HashMap<CertPath, CertInformation> certs, - HashMap<String, Integer> signedJars); + Map<CertPath, CertInformation> certs, + Map<String, Integer> signedJars); /** * Checks if the app has signer(s) whose certs along their chains are in CA certs. @@ -68,8 +68,8 @@ public interface AppVerifier { * signed entries each one has. * @return True if the app has a root in the CA certs store. */ - public boolean hasRootInCacerts(HashMap<CertPath, CertInformation> certs, - HashMap<String, Integer> signedJars); + public boolean hasRootInCacerts(Map<CertPath, CertInformation> certs, + Map<String, Integer> signedJars); /** * Checks if the app's jars are covered by the provided certificates, enough @@ -79,8 +79,8 @@ public interface AppVerifier { * signed entries each one has. * @return */ - public boolean isFullySigned(HashMap<CertPath, CertInformation> certs, - HashMap<String, Integer> signedJars); + public boolean isFullySigned(Map<CertPath, CertInformation> certs, + Map<String, Integer> signedJars); /** * Prompt the user with requests for trusting the certificates used by this app |