Interface IWSSecEncryptCustomizer


public interface IWSSecEncryptCustomizer
Customize the WSSecEncrypt object additional to what is possible via the AS4CryptParams class.
Since:
2.1.4
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.apache.wss4j.dom.message.WSSecEncrypt
    createWSSecEncrypt(org.apache.wss4j.dom.message.WSSecHeader aSecHeader)
    Create an overloaded version of WSSecEncrypt
    default void
    customize(org.apache.wss4j.dom.message.WSSecEncrypt aWSSecEncrypt)
    The customization happens AFTER all the default properties are applied.
  • Method Details

    • createWSSecEncrypt

      @Nonnull default org.apache.wss4j.dom.message.WSSecEncrypt createWSSecEncrypt(@Nonnull org.apache.wss4j.dom.message.WSSecHeader aSecHeader)
      Create an overloaded version of WSSecEncrypt
      Parameters:
      aSecHeader - The security header to start with.
      Returns:
      Never null.
    • customize

      default void customize(@Nonnull org.apache.wss4j.dom.message.WSSecEncrypt aWSSecEncrypt)
      The customization happens AFTER all the default properties are applied. So be sure you know what to do when overwriting stuff.
      Parameters:
      aWSSecEncrypt - The object to modify. May not be null.