Class RequireSignedEncryptedDataElementsTest


  • public class RequireSignedEncryptedDataElementsTest
    extends Object
    Tests for the WSHandlerConstants.REQUIRE_SIGNED_ENCRYPTED_DATA_ELEMENTS option. This test verifies some wrapping techniques are properly handled when the afore mentioned option is on.
    • Constructor Detail

      • RequireSignedEncryptedDataElementsTest

        public RequireSignedEncryptedDataElementsTest()
                                               throws Exception
        Throws:
        Exception
    • Method Detail

      • testEncryptedKeyRefAndDuplicatedEncDataInWsseHeader

        @Test
        public void testEncryptedKeyRefAndDuplicatedEncDataInWsseHeader()
                                                                 throws Exception
        Throws:
        Exception
      • testEncryptedKeyRefAndDuplicatedEncDataInWsseWrapperHeader

        @Test
        public void testEncryptedKeyRefAndDuplicatedEncDataInWsseWrapperHeader()
                                                                        throws Exception
        Throws:
        Exception
      • testEncryptedKeyRefAndDuplicatedEncDataInExternalWrapperElement

        @Test
        public void testEncryptedKeyRefAndDuplicatedEncDataInExternalWrapperElement()
                                                                             throws Exception
        Throws:
        Exception
      • testReferenceListAndDuplicatedEncDataInWsseHeader

        @Test
        public void testReferenceListAndDuplicatedEncDataInWsseHeader()
                                                               throws Exception
        Throws:
        Exception
      • testReferenceListAndDuplicatedEncDataInWsseWrapperHeader

        @Test
        public void testReferenceListAndDuplicatedEncDataInWsseWrapperHeader()
                                                                      throws Exception
        Throws:
        Exception
      • testReferenceListAndDuplicatedEncDataInExternalWrapperElement

        @Test
        public void testReferenceListAndDuplicatedEncDataInExternalWrapperElement()
                                                                           throws Exception
        Throws:
        Exception
      • testAdditionalEncryptedDataWithEmbeddedEncryptedKeyInWsseHeader

        @Test
        public void testAdditionalEncryptedDataWithEmbeddedEncryptedKeyInWsseHeader()
                                                                             throws Exception
        Throws:
        Exception
      • testEncryptedKeyRefAndDuplicatedEncDataInWsseWrapperBody

        @Test
        public void testEncryptedKeyRefAndDuplicatedEncDataInWsseWrapperBody()
                                                                      throws Exception
        Throws:
        Exception
      • testEncryptedKeyRefAndDuplicatedEncDataAfterWsseWrapperBody

        @Test
        public void testEncryptedKeyRefAndDuplicatedEncDataAfterWsseWrapperBody()
                                                                         throws Exception
        Throws:
        Exception