public class LoggingMICMatchingHandler extends Object implements IMICMatchingHandler
IMICMatchingHandler| Constructor and Description |
|---|
LoggingMICMatchingHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onMICMatch(IMessage aMsg,
String sMIC)
Invoked upon MIC match
|
void |
onMICMismatch(IMessage aMsg,
String sOriginalMIC,
String sReceivedMIC)
Invoked upon MIC mismatch
|
public void onMICMatch(@Nonnull IMessage aMsg, @Nonnull String sMIC)
IMICMatchingHandleronMICMatch in interface IMICMatchingHandleraMsg - The message it is all about. Never nullsMIC - The MIC calculated and received. May not be null.public void onMICMismatch(IMessage aMsg, String sOriginalMIC, String sReceivedMIC)
IMICMatchingHandleronMICMismatch in interface IMICMatchingHandleraMsg - The message it is all about. Never nullsOriginalMIC - The MIC calculated here. May be null.sReceivedMIC - The MIC received from the other side. May be null.Copyright © 2013–2022 Philip Helger. All rights reserved.