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 --- BKULocal/pom.xml | 2 +- .../main/java/at/gv/egiz/bku/local/webapp/MoccaContextListener.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'BKULocal') diff --git a/BKULocal/pom.xml b/BKULocal/pom.xml index 7a346273..6b072dda 100644 --- a/BKULocal/pom.xml +++ b/BKULocal/pom.xml @@ -152,7 +152,7 @@ iaik - iaik_ecc_signed + iaik_eccelerate org.springframework diff --git a/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/MoccaContextListener.java b/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/MoccaContextListener.java index 8bccb187..316a7eaa 100644 --- a/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/MoccaContextListener.java +++ b/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/MoccaContextListener.java @@ -25,7 +25,7 @@ package at.gv.egiz.bku.local.webapp; -import iaik.security.ecc.provider.ECCProvider; +import iaik.security.ec.provider.ECCelerate; import iaik.security.provider.IAIK; import iaik.xml.crypto.XSecProvider; @@ -81,8 +81,8 @@ public class MoccaContextListener implements ServletContextListener { protected static 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