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.diagnostics.error.list.ErrorList aErrorList, @NonNull IAS4ProfileValidator.EAS4ProfileValidationMode eValidationMode)
      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.
      eValidationMode - The validation mode to use. May not be null. Since v3.0.0
    • validateInitiatorIdentity

      default void validateInitiatorIdentity(@NonNull Ebms3UserMessage aUserMsg, @Nullable X509Certificate aSignCert, @NonNull IAS4IncomingMessageMetadata aMessageMetadata, @NonNull com.helger.diagnostics.error.list.ErrorList aErrorList)
      Validation the initiator identity
      Parameters:
      aUserMsg - The message to use for comparison. May not be null.
      aSignCert - 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.diagnostics.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.diagnostics.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.