Package org.apache.wss4j.dom.message
Class XOPAttachmentTest
- java.lang.Object
-
- org.apache.wss4j.dom.message.XOPAttachmentTest
-
public class XOPAttachmentTest extends Object
Test for creating / processing an xop:Include inside a CipherValue Element
-
-
Constructor Summary
Constructors Constructor Description XOPAttachmentTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
readInputStream(InputStream inputStream)
void
testDerivedEncryptedSOAPBody()
void
testDerivedSignedSOAPBody()
void
testEncryptedHeaderAsEncryptedData()
void
testEncryptedHeaderasEncryptedHeader()
void
testEncryptedSignedSOAPBodyViaHandler()
void
testEncryptedSOAPBody()
void
testEncryptedSOAPBodyURLEncoding()
void
testManualEncryptedSOAPBody()
void
testSignatureValueInAttachment()
void
testSignedEncryptedSOAPBody()
void
testSignedEncryptedSOAPBodyViaHandler()
void
testSignedSOAPBody()
void
testSignedSOAPBodyAndBinarySecurityToken()
-
-
-
Method Detail
-
readInputStream
protected byte[] readInputStream(InputStream inputStream) throws IOException
- Throws:
IOException
-
testManualEncryptedSOAPBody
@Test public void testManualEncryptedSOAPBody() throws Exception
- Throws:
Exception
-
testEncryptedSOAPBodyURLEncoding
@Test public void testEncryptedSOAPBodyURLEncoding() throws Exception
- Throws:
Exception
-
testSignedSOAPBodyAndBinarySecurityToken
@Test public void testSignedSOAPBodyAndBinarySecurityToken() throws Exception
- Throws:
Exception
-
testEncryptedHeaderAsEncryptedData
@Test public void testEncryptedHeaderAsEncryptedData() throws Exception
- Throws:
Exception
-
testEncryptedHeaderasEncryptedHeader
@Test public void testEncryptedHeaderasEncryptedHeader() throws Exception
- Throws:
Exception
-
testDerivedEncryptedSOAPBody
@Test public void testDerivedEncryptedSOAPBody() throws Exception
- Throws:
Exception
-
testDerivedSignedSOAPBody
@Test public void testDerivedSignedSOAPBody() throws Exception
- Throws:
Exception
-
testSignedEncryptedSOAPBody
@Test public void testSignedEncryptedSOAPBody() throws Exception
- Throws:
Exception
-
testSignedEncryptedSOAPBodyViaHandler
@Test public void testSignedEncryptedSOAPBodyViaHandler() throws Exception
- Throws:
Exception
-
testEncryptedSignedSOAPBodyViaHandler
@Test public void testEncryptedSignedSOAPBodyViaHandler() throws Exception
- Throws:
Exception
-
-