summaryrefslogtreecommitdiff
path: root/eaaf_modules
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-06-18 14:38:31 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-06-18 14:38:31 +0200
commitf39a0a004bbe6b6b126218993767b897efa06745 (patch)
tree6ee8bc4045b6a5e2816ecdaa6ea69c4b5e0ffd70 /eaaf_modules
parent43a86470cfb621226fbffa609640bdd4a5d381eb (diff)
downloadEAAF-Components-f39a0a004bbe6b6b126218993767b897efa06745.tar.gz
EAAF-Components-f39a0a004bbe6b6b126218993767b897efa06745.tar.bz2
EAAF-Components-f39a0a004bbe6b6b126218993767b897efa06745.zip
refactor MOASigInitializer to load IAIK ECCelerate fist
Diffstat (limited to 'eaaf_modules')
-rw-r--r--eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eid/authhandler/modules/sigverify/moasig/impl/MoaSigInitializer.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eid/authhandler/modules/sigverify/moasig/impl/MoaSigInitializer.java b/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eid/authhandler/modules/sigverify/moasig/impl/MoaSigInitializer.java
index 77bbc88b..9b7f29b8 100644
--- a/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eid/authhandler/modules/sigverify/moasig/impl/MoaSigInitializer.java
+++ b/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eid/authhandler/modules/sigverify/moasig/impl/MoaSigInitializer.java
@@ -58,13 +58,13 @@ public class MoaSigInitializer {
Configurator.getInstance().init();
log.info("MOA-Sig library initialization complete ");
- Security.insertProviderAt(IAIK.getInstance(), 0);
+ //Security.insertProviderAt(IAIK.getInstance(), 0);
- final ECCelerate eccProvider = ECCelerate.getInstance();
- if (Security.getProvider(eccProvider.getName()) != null) {
- Security.removeProvider(eccProvider.getName());
- }
- Security.addProvider(new ECCelerate());
+ //final ECCelerate eccProvider = ECCelerate.getInstance();
+ //if (Security.getProvider(eccProvider.getName()) != null) {
+ // Security.removeProvider(eccProvider.getName());
+ //}
+ //Security.addProvider(new ECCelerate());
fixJava8_141ProblemWithSslAlgorithms();