org.apache.ws.security.saml.ext
Class AssertionSigningTest

java.lang.Object
  extended by org.junit.Assert
      extended by org.apache.ws.security.saml.ext.AssertionSigningTest

public class AssertionSigningTest
extends org.junit.Assert

A list of test-cases to test the functionality of signing with AssertionWrapper class implementation.


Constructor Summary
AssertionSigningTest()
           
 
Method Summary
 void testSigningWithCustomAlgorithms()
          Test that creates an AssertionWrapper object and signs using custom signature and canonicalization algorithms.
 void testSigningWithDefaultAlgorithms()
          Test that creates an AssertionWrapper object and signs using default signature and canonicalization algorithms.
 
Methods inherited from class org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertionSigningTest

public AssertionSigningTest()
                     throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

testSigningWithDefaultAlgorithms

public void testSigningWithDefaultAlgorithms()
                                      throws java.lang.Exception
Test that creates an AssertionWrapper object and signs using default signature and canonicalization algorithms. The defaults should match otherwise the test-case fails.

Throws:
java.lang.Exception

testSigningWithCustomAlgorithms

public void testSigningWithCustomAlgorithms()
                                     throws java.lang.Exception
Test that creates an AssertionWrapper object and signs using custom signature and canonicalization algorithms.

Throws:
java.lang.Exception


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.