Package com.helger.as2lib.crypto
Class LoggingMICMatchingHandler
- java.lang.Object
-
- com.helger.as2lib.crypto.LoggingMICMatchingHandler
-
- All Implemented Interfaces:
IMICMatchingHandler
public class LoggingMICMatchingHandler extends Object implements IMICMatchingHandler
Logging implementation ofIMICMatchingHandler- Since:
- 4.40
- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description LoggingMICMatchingHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonMICMatch(IMessage aMsg, String sMIC)Invoked upon MIC matchvoidonMICMismatch(IMessage aMsg, String sOriginalMIC, String sReceivedMIC)Invoked upon MIC mismatch
-
-
-
Method Detail
-
onMICMatch
public void onMICMatch(@Nonnull IMessage aMsg, @Nonnull String sMIC)
Description copied from interface:IMICMatchingHandlerInvoked upon MIC match- Specified by:
onMICMatchin interfaceIMICMatchingHandler- Parameters:
aMsg- The message it is all about. Never nullsMIC- The MIC calculated and received. May not benull.
-
onMICMismatch
public void onMICMismatch(IMessage aMsg, String sOriginalMIC, String sReceivedMIC)
Description copied from interface:IMICMatchingHandlerInvoked upon MIC mismatch- Specified by:
onMICMismatchin interfaceIMICMatchingHandler- Parameters:
aMsg- The message it is all about. Never nullsOriginalMIC- The MIC calculated here. May benull.sReceivedMIC- The MIC received from the other side. May benull.
-
-