Package org.apache.wss4j.dom.message
Class AttachmentTest
- java.lang.Object
-
- org.apache.wss4j.dom.message.AttachmentTest
-
public class AttachmentTest extends Object
-
-
Constructor Summary
Constructors Constructor Description AttachmentTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>
getHeaders(String attachmentId)
protected byte[]
readInputStream(InputStream inputStream)
void
testInvalidXMLAttachmentCmplEncCmplSign()
void
testInvalidXMLAttachmentCmplSignCmplEnc()
void
testInvalidXMLAttachmentCompleteEncryption()
void
testInvalidXMLAttachmentCompleteSignature()
void
testInvalidXMLAttachmentContentEncryption()
void
testInvalidXMLAttachmentContentSignature()
void
testMultipleAttachmentCompleteEncryption()
void
testMultipleAttachmentCompleteSignature()
void
testXMLAttachmentCmplEncCmplSign()
void
testXMLAttachmentCmplSignCmplEnc()
void
testXMLAttachmentCompleteEncryption()
void
testXMLAttachmentCompleteSignature()
void
testXMLAttachmentContentEncryption()
void
testXMLAttachmentContentEncryptionExternalReferenceList()
void
testXMLAttachmentContentEncryptionGCM()
void
testXMLAttachmentContentEncryptionNoReference()
void
testXMLAttachmentContentSignature()
-
-
-
Method Detail
-
readInputStream
protected byte[] readInputStream(InputStream inputStream) throws IOException
- Throws:
IOException
-
testXMLAttachmentContentSignature
@Test public void testXMLAttachmentContentSignature() throws Exception
- Throws:
Exception
-
testInvalidXMLAttachmentContentSignature
@Test public void testInvalidXMLAttachmentContentSignature() throws Exception
- Throws:
Exception
-
testXMLAttachmentCompleteSignature
@Test public void testXMLAttachmentCompleteSignature() throws Exception
- Throws:
Exception
-
testInvalidXMLAttachmentCompleteSignature
@Test public void testInvalidXMLAttachmentCompleteSignature() throws Exception
- Throws:
Exception
-
testMultipleAttachmentCompleteSignature
@Test public void testMultipleAttachmentCompleteSignature() throws Exception
- Throws:
Exception
-
testXMLAttachmentContentEncryption
@Test public void testXMLAttachmentContentEncryption() throws Exception
- Throws:
Exception
-
testXMLAttachmentContentEncryptionGCM
@Test public void testXMLAttachmentContentEncryptionGCM() throws Exception
- Throws:
Exception
-
testInvalidXMLAttachmentContentEncryption
@Test public void testInvalidXMLAttachmentContentEncryption() throws Exception
- Throws:
Exception
-
testXMLAttachmentContentEncryptionExternalReferenceList
@Test public void testXMLAttachmentContentEncryptionExternalReferenceList() throws Exception
- Throws:
Exception
-
testXMLAttachmentContentEncryptionNoReference
@Test public void testXMLAttachmentContentEncryptionNoReference() throws Exception
- Throws:
Exception
-
testXMLAttachmentCompleteEncryption
@Test public void testXMLAttachmentCompleteEncryption() throws Exception
- Throws:
Exception
-
testInvalidXMLAttachmentCompleteEncryption
@Test public void testInvalidXMLAttachmentCompleteEncryption() throws Exception
- Throws:
Exception
-
testMultipleAttachmentCompleteEncryption
@Test public void testMultipleAttachmentCompleteEncryption() throws Exception
- Throws:
Exception
-
testXMLAttachmentCmplSignCmplEnc
@Test public void testXMLAttachmentCmplSignCmplEnc() throws Exception
- Throws:
Exception
-
testInvalidXMLAttachmentCmplSignCmplEnc
@Test public void testInvalidXMLAttachmentCmplSignCmplEnc() throws Exception
- Throws:
Exception
-
testXMLAttachmentCmplEncCmplSign
@Test public void testXMLAttachmentCmplEncCmplSign() throws Exception
- Throws:
Exception
-
-