Interface IAS4ProfileValidator


public interface IAS4ProfileValidator
Generic AS4 profile validator
Author:
bayerlma, Philip Helger
  • Method Details

    • validatePMode

      default void validatePMode(@Nonnull IPMode aPMode, @Nonnull com.helger.commons.error.list.ErrorList aErrorList)
      Validation a PMode
      Parameters:
      aPMode - The PMode to be validated. May not be null.
      aErrorList - The error list to be filled. May not be null.
    • validateInitiatorIdentity

      default void validateInitiatorIdentity(@Nonnull Ebms3UserMessage aUserMsg, @Nullable X509Certificate aSigCert, @Nonnull IAS4IncomingMessageMetadata aMessageMetadata, @Nonnull com.helger.commons.error.list.ErrorList aErrorList)
      Validation the initiator identity
      Parameters:
      aUserMsg - The message to use for comparison. May not be null.
      aSigCert - The signature certificate used to sign the message. Can be null.
      aMessageMetadata - Metadata of the message optionally containing the TLS client certificate used. May not be null.
      aErrorList - The error list to be filled. May not be null.
      Since:
      2.5.0
    • validateUserMessage

      default void validateUserMessage(@Nonnull Ebms3UserMessage aUserMsg, @Nonnull com.helger.commons.error.list.ErrorList aErrorList)
      Validation a UserMessage
      Parameters:
      aUserMsg - The message to be validated. May not be null.
      aErrorList - The error list to be filled. May not be null.
    • validateSignalMessage

      default void validateSignalMessage(@Nonnull Ebms3SignalMessage aSignalMsg, @Nonnull com.helger.commons.error.list.ErrorList aErrorList)
      Validation a SignalMessage
      Parameters:
      aSignalMsg - The message to be validated. May not be null.
      aErrorList - The error list to be filled. May not be null.