diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-10-16 01:06:00 +0200 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-10-16 01:06:00 +0200 |
commit | 4cf16120aa4c3b9c543079fa2d92577ec44e7f62 (patch) | |
tree | 36081c9c7a26abe8d13770d41096023d0d03701b /BKUOnline | |
parent | 7d58c14a12fec18c046228ad7e4cc076e5e84c99 (diff) | |
download | mocca-4cf16120aa4c3b9c543079fa2d92577ec44e7f62.tar.gz mocca-4cf16120aa4c3b9c543079fa2d92577ec44e7f62.tar.bz2 mocca-4cf16120aa4c3b9c543079fa2d92577ec44e7f62.zip |
Switch to ECCelerate
Diffstat (limited to 'BKUOnline')
-rw-r--r-- | BKUOnline/pom.xml | 2 | ||||
-rw-r--r-- | BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/MoccaContextListener.java | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/BKUOnline/pom.xml b/BKUOnline/pom.xml index 1fbd1b98..78ae83af 100644 --- a/BKUOnline/pom.xml +++ b/BKUOnline/pom.xml @@ -57,7 +57,7 @@ </dependency> <dependency> <groupId>iaik</groupId> - <artifactId>iaik_ecc_signed</artifactId> + <artifactId>iaik_eccelerate</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> 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 |