Package com.helger.phase4.profile
Interface IAS4ProfileValidator
public interface IAS4ProfileValidator
Generic AS4 profile validator
- Author:
- bayerlma, Philip Helger
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault voidvalidateInitiatorIdentity(Ebms3UserMessage aUserMsg, X509Certificate aSignCert, IAS4IncomingMessageMetadata aMessageMetadata, com.helger.commons.error.list.ErrorList aErrorList) Validation the initiator identitydefault voidvalidatePMode(IPMode aPMode, com.helger.commons.error.list.ErrorList aErrorList, IAS4ProfileValidator.EAS4ProfileValidationMode eValidationMode) Validation a PModedefault voidvalidateSignalMessage(Ebms3SignalMessage aSignalMsg, com.helger.commons.error.list.ErrorList aErrorList) Validation a SignalMessagedefault voidvalidateUserMessage(Ebms3UserMessage aUserMsg, com.helger.commons.error.list.ErrorList aErrorList) Validation a UserMessage
-
Method Details
-
validatePMode
default void validatePMode(@Nonnull IPMode aPMode, @Nonnull com.helger.commons.error.list.ErrorList aErrorList, @Nonnull IAS4ProfileValidator.EAS4ProfileValidationMode eValidationMode) Validation a PMode- Parameters:
aPMode- The PMode to be validated. May not benull.aErrorList- The error list to be filled. May not benull.eValidationMode- The validation mode to use. May not benull. Since v3.0.0
-
validateInitiatorIdentity
default void validateInitiatorIdentity(@Nonnull Ebms3UserMessage aUserMsg, @Nullable X509Certificate aSignCert, @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 benull.aSignCert- The signature certificate used to sign the message. Can benull.aMessageMetadata- Metadata of the message optionally containing the TLS client certificate used. May not benull.aErrorList- The error list to be filled. May not benull.- 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 benull.aErrorList- The error list to be filled. May not benull.
-
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 benull.aErrorList- The error list to be filled. May not benull.
-