aboutsummaryrefslogtreecommitdiff
path: root/id/server
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-06-28 16:06:07 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-06-28 16:06:07 +0200
commit08a6d45734bcc3996754fcc8cc7f715600203909 (patch)
treee71b4a185fc67c590e1ec273acf2a0910f21cd12 /id/server
parentb3aa8b6d444e7dee51e1145e3192b191ae24b1d4 (diff)
downloadmoa-id-spss-08a6d45734bcc3996754fcc8cc7f715600203909.tar.gz
moa-id-spss-08a6d45734bcc3996754fcc8cc7f715600203909.tar.bz2
moa-id-spss-08a6d45734bcc3996754fcc8cc7f715600203909.zip
fix jUnit test in OpenID-Connect module
Diffstat (limited to 'id/server')
-rw-r--r--id/server/modules/moa-id-module-openID/src/test/java/test/at/gv/egovernment/moa/id/auth/oauth/CertTest.java12
1 files changed, 5 insertions, 7 deletions
diff --git a/id/server/modules/moa-id-module-openID/src/test/java/test/at/gv/egovernment/moa/id/auth/oauth/CertTest.java b/id/server/modules/moa-id-module-openID/src/test/java/test/at/gv/egovernment/moa/id/auth/oauth/CertTest.java
index 6cf1e8280..812591293 100644
--- a/id/server/modules/moa-id-module-openID/src/test/java/test/at/gv/egovernment/moa/id/auth/oauth/CertTest.java
+++ b/id/server/modules/moa-id-module-openID/src/test/java/test/at/gv/egovernment/moa/id/auth/oauth/CertTest.java
@@ -22,15 +22,10 @@
*******************************************************************************/
package test.at.gv.egovernment.moa.id.auth.oauth;
-import iaik.security.ecc.provider.ECCProvider;
-
import java.security.KeyStore;
import java.security.PrivateKey;
import java.security.cert.X509Certificate;
-import net.oauth.jsontoken.crypto.Signer;
-import net.oauth.jsontoken.crypto.Verifier;
-
import org.opensaml.xml.security.x509.BasicX509Credential;
import org.testng.Assert;
import org.testng.annotations.Test;
@@ -38,6 +33,9 @@ import org.testng.annotations.Test;
import at.gv.egovernment.moa.id.protocols.oauth20.json.OAuth20SHA256Signer;
import at.gv.egovernment.moa.id.protocols.oauth20.json.OAuth20SHA256Verifier;
import at.gv.egovernment.moa.util.KeyStoreUtils;
+import iaik.security.ec.provider.ECCelerate;
+import net.oauth.jsontoken.crypto.Signer;
+import net.oauth.jsontoken.crypto.Verifier;
public class CertTest {
@@ -121,8 +119,8 @@ public class CertTest {
}
@Test
- public void testECDSA() throws Exception {
- ECCProvider.addAsProvider();
+ public void testECDSA() throws Exception {
+ ECCelerate.addAsProvider();
// Security.addProvider(new ECCProvider());
BasicX509Credential credential = this.getCredentials(this.ecdsaKeyStorePath);