aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/test/at/gv/egovernment
diff options
context:
space:
mode:
Diffstat (limited to 'id.server/src/test/at/gv/egovernment')
-rw-r--r--id.server/src/test/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParserTest.java50
1 files changed, 25 insertions, 25 deletions
diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParserTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParserTest.java
index 9d4482c46..c29c1eedf 100644
--- a/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParserTest.java
+++ b/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParserTest.java
@@ -65,31 +65,31 @@ public class IdentityLinkAssertionParserTest extends UnitTestCase {
}
- public void testParseIdentityLinkECC() throws Exception {
- RandomAccessFile s =
- new RandomAccessFile(
- "data/test/xmldata/IL.ResponseToRequest.01.ECDSA.xml",
- "r");
- byte[] b = new byte[(int) s.length()];
- s.read(b);
- String xmlInfoboxReadResponse = new String(b);
- InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(xmlInfoboxReadResponse);
- String SAML = irrp.parseSAMLAssertion();
- ilap = new IdentityLinkAssertionParser(SAML);
- IdentityLink idl = ilap.parseIdentityLink();
- System.out.println(idl.getGivenName());
- System.out.println(idl.getFamilyName());
- System.out.println(idl.getDateOfBirth());
- System.out.println(idl.getIdentificationValue());
-
- VerifyXMLSignatureRequestBuilder vx = new VerifyXMLSignatureRequestBuilder();
-
- // Element zurück bekommen: vx.build(idl.getSamlAssertion());
-
- IdentityLinkValidator idVali = IdentityLinkValidator.getInstance();
- idVali.validate(idl);
-
- }
+// public void testParseIdentityLinkECC() throws Exception {
+// RandomAccessFile s =
+// new RandomAccessFile(
+// "data/test/xmldata/IL.ResponseToRequest.01.ECDSA.xml",
+// "r");
+// byte[] b = new byte[(int) s.length()];
+// s.read(b);
+// String xmlInfoboxReadResponse = new String(b);
+// InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(xmlInfoboxReadResponse);
+// String SAML = irrp.parseSAMLAssertion();
+// ilap = new IdentityLinkAssertionParser(SAML);
+// IdentityLink idl = ilap.parseIdentityLink();
+// System.out.println(idl.getGivenName());
+// System.out.println(idl.getFamilyName());
+// System.out.println(idl.getDateOfBirth());
+// System.out.println(idl.getIdentificationValue());
+//
+// VerifyXMLSignatureRequestBuilder vx = new VerifyXMLSignatureRequestBuilder();
+//
+// // Element zurück bekommen: vx.build(idl.getSamlAssertion());
+//
+// IdentityLinkValidator idVali = IdentityLinkValidator.getInstance();
+// idVali.validate(idl);
+//
+// }
public void testRSAPublicKeys() throws Exception {
if (ilap.getPublicKeys()[0].getClass().getName().equals("iaik.security.rsa.RSAPublicKey"))