summaryrefslogtreecommitdiffstats
path: root/base/common
diff options
context:
space:
mode:
authorChristina Fu <cfu@redhat.com>2012-09-26 17:20:54 -0700
committerChristina Fu <cfu@redhat.com>2012-09-26 17:20:54 -0700
commitf4ecf488c402c8aac9334eb8a27c98dfcd5041f6 (patch)
tree959ff4669fc09a4bcdf20261ad196c481c9331ad /base/common
parentd45052552e228dd46151b322ffc565b14f1fc6c3 (diff)
downloadpki-f4ecf488c402c8aac9334eb8a27c98dfcd5041f6.tar.gz
pki-f4ecf488c402c8aac9334eb8a27c98dfcd5041f6.tar.xz
pki-f4ecf488c402c8aac9334eb8a27c98dfcd5041f6.zip
(fixed warning for) task #304 TMS ECC infrastructure (enrollment with client-side and server-side key generation, and key archival)
Diffstat (limited to 'base/common')
-rw-r--r--base/common/src/com/netscape/cms/servlet/connector/GenerateKeyPairServlet.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/common/src/com/netscape/cms/servlet/connector/GenerateKeyPairServlet.java b/base/common/src/com/netscape/cms/servlet/connector/GenerateKeyPairServlet.java
index d8a125994..7c6d50051 100644
--- a/base/common/src/com/netscape/cms/servlet/connector/GenerateKeyPairServlet.java
+++ b/base/common/src/com/netscape/cms/servlet/connector/GenerateKeyPairServlet.java
@@ -63,7 +63,7 @@ public class GenerateKeyPairServlet extends CMSServlet {
IPrettyPrintFormat pp = CMS.getPrettyPrintFormat(":");
protected IAuthSubsystem mAuthSubsystem = null;
protected ILogger mLogger = CMS.getLogger();
- private Hashtable supportedECCurves_ht = null;
+ private Hashtable<String, String> supportedECCurves_ht = null;
/**
* Constructs GenerateKeyPair servlet.
@@ -93,7 +93,7 @@ public class GenerateKeyPairServlet extends CMSServlet {
curveList = "nistp256,nistp384,nistp521";
}
- supportedECCurves_ht = new Hashtable();
+ supportedECCurves_ht = new Hashtable<String, String>();
String[] supportedECCurves = curveList.split(",");
for ( int i = 0; i < supportedECCurves.length; i++) {
supportedECCurves_ht.put(supportedECCurves[i], supportedECCurves[i]);