org.apache.ws.security.message
Class EncryptedDataInHeaderTest

java.lang.Object
  extended by org.junit.Assert
      extended by org.apache.ws.security.message.EncryptedDataInHeaderTest

public class EncryptedDataInHeaderTest
extends org.junit.Assert

This test encrypts a Timestamp and the SOAP Body, and appends the ReferenceList Element after the EncryptedData Element that is the Timestamp. When processing, the EncryptedData Element gets decrypted, and then the ReferenceListProcessor must check to see whether the Data Reference pointing to the encrypted Timestamp needs to be decrypted or not.


Constructor Summary
EncryptedDataInHeaderTest()
           
 
Method Summary
 void testEncryptedDataInHeader()
           
 
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

EncryptedDataInHeaderTest

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

testEncryptedDataInHeader

public void testEncryptedDataInHeader()
                               throws java.lang.Exception
Throws:
java.lang.Exception


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