From 4cf16120aa4c3b9c543079fa2d92577ec44e7f62 Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Fri, 16 Oct 2015 01:06:00 +0200 Subject: Switch to ECCelerate --- .../java/at/gv/egiz/bku/online/webapp/MoccaContextListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'BKUOnline/src/main/java/at/gv/egiz') diff --git a/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaContextListener.java b/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaContextListener.java index f0680e0b..fbaef4f6 100644 --- a/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaContextListener.java +++ b/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaContextListener.java @@ -25,7 +25,7 @@ package at.gv.egiz.bku.online.webapp; -import iaik.security.ecc.provider.ECCProvider; +import iaik.security.ec.provider.ECCelerate; import iaik.security.provider.IAIK; import iaik.xml.crypto.XSecProvider; @@ -114,8 +114,8 @@ public class MoccaContextListener implements ServletContextListener { protected void registerProviders() { registerProvider(new IAIK(), 1); - registerProvider(new ECCProvider(false), 2); - + registerProvider(new ECCelerate(false), 2); + final String name = XSecProvider.NAME; if (Security.getProvider(XSecProvider.NAME) == null) { // register XML Security provider -- cgit v1.2.3