|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.Assert
org.apache.ws.security.processor.ReferenceListDataRefTest
public class ReferenceListDataRefTest
Test that checks for correct WSDataRef which should be returned by
org.apache.ws.security.processor.ReferenceListProcessor
This test uses the RSA_15 algorithm to transport (wrap) the symmetric key.
The test case creates a ReferenceList element that references EncryptedData
elements. The ReferencesList element is put into the Security header, not
as child of the EncryptedKey. The EncryptedData elements contain a KeyInfo
that references the EncryptedKey via a STR/Reference structure.
WSDataRef object must contain the correct QName of the decrypted element.
| Constructor Summary | |
|---|---|
ReferenceListDataRefTest()
|
|
| Method Summary | |
|---|---|
void |
testDataRefReferenceListProcessor()
Test that check for correct WSDataRef object from ReferenceList Processor |
| 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 |
|---|
public ReferenceListDataRefTest()
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void testDataRefReferenceListProcessor()
throws java.lang.Exception
java.lang.Exception - Thrown when there is an error in encryption or decryption
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||