Hardcode provider name for JCEKS keystores.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 22 May 2003 16:06:07 +0000 (16:06 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 22 May 2003 16:06:07 +0000 (16:06 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@599 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/utils/ExtKeyTool.java

index 020ac16..abfa882 100755 (executable)
@@ -128,6 +128,8 @@ public class ExtKeyTool {
                        KeyStore keyStore;
                        if (storeType.equals("JKS")) {
                                keyStore = KeyStore.getInstance(storeType, "SUN");
+                       } else if (storeType.equals("JCEKS")) {
+                               keyStore = KeyStore.getInstance(storeType, "SunJCE");
                        } else {
                                keyStore = KeyStore.getInstance(storeType, provider);
                        }
@@ -717,6 +719,7 @@ public class ExtKeyTool {
                        }
 
                        try {
+                               
                                ByteArrayOutputStream keyStoreOutStream =
                                        importKey(
                                                providerName,