summaryrefslogtreecommitdiff
path: root/BKULocal
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-10-15 23:06:00 (GMT)
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-10-15 23:06:00 (GMT)
commit4cf16120aa4c3b9c543079fa2d92577ec44e7f62 (patch)
tree36081c9c7a26abe8d13770d41096023d0d03701b /BKULocal
parent7d58c14a12fec18c046228ad7e4cc076e5e84c99 (diff)
downloadmocca-4cf16120aa4c3b9c543079fa2d92577ec44e7f62.zip
mocca-4cf16120aa4c3b9c543079fa2d92577ec44e7f62.tar.gz
mocca-4cf16120aa4c3b9c543079fa2d92577ec44e7f62.tar.bz2
Switch to ECCelerate
Diffstat (limited to 'BKULocal')
-rw-r--r--BKULocal/pom.xml2
-rw-r--r--BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/MoccaContextListener.java6
2 files changed, 4 insertions, 4 deletions
diff --git a/BKULocal/pom.xml b/BKULocal/pom.xml
index 7a34627..6b072dd 100644
--- a/BKULocal/pom.xml
+++ b/BKULocal/pom.xml
@@ -152,7 +152,7 @@
</dependency>
<dependency>
<groupId>iaik</groupId>
- <artifactId>iaik_ecc_signed</artifactId>
+ <artifactId>iaik_eccelerate</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
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 8bccb18..316a7ea 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