new SimpleMsg("parameter", "PVK", pvk),
new SimpleMsg("parameter", "Decimalisation table", decTab),
new SimpleMsg("parameter", "PIN validation data", pinValData),
new SimpleMsg("parameter", "Minimum PIN length", minPinLen)
};
LogEvent evt = new LogEvent(this, "s-m-operation");
evt.addMessage(new SimpleMsg("command", "Derive a PIN Using the IBM Method", cmdParameters));
EncryptedPIN result = null;
try {
result = deriveIBMPINImpl(accountNo, pvk, decTab, pinValData, minPinLen, offset);
evt.addMessage(new SimpleMsg("result", "Derived PIN", result));
} catch (Exception e) {
evt.addMessage(e);
throw e instanceof SMException ? (SMException) e : new SMException(e);
} finally {
Logger.log(evt);
}
return result;