├── ..svnbridge └── .svnbridge ├── BuildProcessTemplates ├── DefaultTemplate.11.1.xaml ├── DefaultTemplate.xaml ├── LabDefaultTemplate.11.xaml └── UpgradeTemplate.xaml ├── GPL.txt ├── Graphics └── keys.ico ├── HostCommands ├── ..svnbridge │ └── .svnbridge ├── CancelAuthState_RA.xml ├── CommandChaining_NK.xml ├── DecryptEncryptedPIN_NG.xml ├── DerivePINUsingTheIBMMethod_EE.xml ├── EchoTest_B2.xml ├── EncryptClearPIN_BA.xml ├── ExportKey_A8.xml ├── FormKeyFromEncryptedComponents_A4.xml ├── FormZMKFromThreeComponents_GG.xml ├── FormZMKFromTwoToNineComponents_GY.xml ├── GeneraceMACMABUsingAnsiX919ForLargeMessage_MS.xml ├── GenerateAMEXCSC_RY.xml ├── GenerateAndPrintComponent_A2.xml ├── GenerateAndPrintSplitComponents_NE.xml ├── GenerateAndPrintTMPTPKPVK_OE.xml ├── GenerateAndPrintZMKComponent_OC.xml ├── GenerateBDK_BI.xml ├── GenerateCVKPair_AS.xml ├── GenerateCheckValue_BU.xml ├── GenerateCheckValue_KA.xml ├── GenerateIBMOffset_DE.xml ├── GenerateKey_A0.xml ├── GenerateMACForLargeMessage_MQ.xml ├── GenerateMACMABUsingAnsiX919ForLargeMessage_MS.xml ├── GenerateMAC_M6.xml ├── GenerateMAC_MA.xml ├── GeneratePVKPair_FG.xml ├── GenerateRandomPIN_JA.xml ├── GenerateTAK_HA.xml ├── GenerateTMKTPKPVK_HC.xml ├── GenerateVISACVV_CW.xml ├── GenerateVISAPVV_DG.xml ├── GenerateZEKorZAK_FI.xml ├── GenerateZPK_IA.xml ├── HSMStatus_NO.xml ├── HashDataBlock_GM.xml ├── HostCommandDefinitions.xsd ├── ImportKey_A6.xml ├── KeyScheme.xml ├── LargeMultiFormatKey.xml ├── MultiFormatCVK.xml ├── MultiFormatKey.xml ├── MultiFormatZMK.xml ├── PINBlockFormat.xml ├── RSAEncryptTo3DES_SA.xml ├── SetHSMDelay_LG.xml ├── SingleCommand.xml ├── TranslateBDKFromLMKToZMK_DY.xml ├── TranslateBDKFromZMKToLMK_DW.xml ├── TranslateCVKFromLMKToZMK_AU.xml ├── TranslateCVKFromZMKToLMK_AW.xml ├── TranslateKeyScheme_B0.xml ├── TranslateKeysFromOldLMKToNewLMK_BW.xml ├── TranslatePINFromDUKPTToZPK3DES_G0.xml ├── TranslatePINFromDUKPTToZPK_CI.xml ├── TranslatePINFromLMKToZPK_JG.xml ├── TranslatePINFromTPKToLMK_JC.xml ├── TranslatePINFromTPKToZPK_CA.xml ├── TranslatePINFromVISAToThales_BQ.xml ├── TranslatePINFromZPKToLMK_JE.xml ├── TranslatePINFromZPKToZPK_CC.xml ├── TranslateTAKFromLMKToTMK_AG.xml ├── TranslateTAKFromLMKToZMK_MG.xml ├── TranslateTAKFromZMKToLMK_MI.xml ├── TranslateTMKTPKPVKFromLMKToTMKTPKPVK_AE.xml ├── TranslateTMKTPKPVKFromLMKToZMK_FE.xml ├── TranslateTMPTPKPVKFromZMKToLMK_FC.xml ├── TranslateZEKORZAKFromLMKToZMK_FM.xml ├── TranslateZEKORZAKFromZMKToLMK_FK.xml ├── TranslateZMKFromZMKToLMK_BY.xml ├── TranslateZPKFromLMKToZMK_GC.xml ├── TranslateZPKFromZMKToLMK_FA.xml ├── VerifyARQCAndOrGenerateARPC_KQ.xml ├── VerifyAndGenerateVISAPVV_CU.xml ├── VerifyAndTranslateMAC_ME.xml ├── VerifyDukptPINWithIBMAlgorithm_CK.xml ├── VerifyDukptPINWithVISAAlgorithm_CM.xml ├── VerifyDynamicCVV_PM.xml ├── VerifyInterchangePINWithIBMAlgorithm_EA.xml ├── VerifyInterchangePINWithVISAAlgorithm_EC.xml ├── VerifyInterchangePinUsingComparisonMethod_BE.xml ├── VerifyMAC_M8.xml ├── VerifyMAC_MC.xml ├── VerifyTerminalPINWithVISAAlgorithm_DC.xml ├── VerifyTerminalPINwithIBMAlgorithm_DA.xml ├── VerifyTerminalPinUsingComparisonMethod_BC.xml ├── VerifyTruncatedApplicationCryptogram_K2.xml └── VerifyVISACVV_CY.xml ├── LocalTestRun.testrunconfig ├── ReleaseHistory.txt ├── TestData.txt ├── ThalesConsoleSimulator ├── ..svnbridge │ └── .svnbridge ├── Module1.vb ├── My Project │ ├── Application.Designer.vb │ ├── Application.myapp │ ├── AssemblyInfo.vb │ ├── Resources.Designer.vb │ ├── Resources.resx │ ├── Settings.Designer.vb │ └── Settings.settings ├── ThalesConsoleSimulator.vbproj ├── app.config ├── bin │ ├── ..svnbridge │ │ └── .svnbridge │ └── Debug │ │ ├── ..svnbridge │ │ └── .svnbridge │ │ ├── ThalesMonoParameters.txt │ │ └── ThalesParameters.xml └── keys.ico ├── ThalesCore.Tests.Mono ├── ..svnbridge │ └── .svnbridge ├── Module1.vb ├── My Project │ ├── Application.Designer.vb │ ├── Application.myapp │ ├── AssemblyInfo.vb │ ├── Resources.Designer.vb │ ├── Resources.resx │ ├── Settings.Designer.vb │ └── Settings.settings ├── ThalesCore.Tests.Mono.vbproj └── app.config ├── ThalesCore.Tests ├── ..svnbridge │ └── .svnbridge ├── AuthoringTests.txt ├── ConsoleCommandTests.vb ├── EncryptionTests.vb ├── HostCommandTests.vb ├── My Project │ └── AssemblyInfo.vb ├── PINBlockTests.vb └── ThalesCore.Tests.vbproj ├── ThalesCore ├── ..svnbridge │ └── .svnbridge ├── ConsoleCommands │ ├── AConsoleCommand.vb │ ├── ConsoleCommandClass.vb │ ├── ConsoleCommandExplorer.vb │ ├── ConsoleMessage.vb │ ├── ConsoleMessageStack.vb │ ├── ExtendedValidator.vb │ ├── IConsoleDataValidator.vb │ ├── Implementations │ │ ├── CancelAuthorizedState_C.vb │ │ ├── DoubleLengthDESCalculator_$.vb │ │ ├── EncryptClearComponent_EC.vb │ │ ├── EncryptZMKComponent_Z.vb │ │ ├── EnterAuthorizedState_A.vb │ │ ├── ExportKey_KE.vb │ │ ├── FormKeyFromComponents_FK.vb │ │ ├── FormZMKFromEncryptedComponents_D.vb │ │ ├── GenerateKeyComponent_GC.vb │ │ ├── GenerateKey_KG.vb │ │ ├── GenerateZMKComponent_F.vb │ │ ├── ImportKey_IK.vb │ │ ├── QueryAuxilliary_QA.vb │ │ ├── QueryConsole_QC.vb │ │ ├── QueryHost_QH.vb │ │ ├── SingleLengthDESCalculator_N.vb │ │ ├── TripleLengthDESCalculator_T.vb │ │ └── ViewHSMSoftwareRevision_VR.vb │ ├── ThalesConsoleCommandCode.vb │ └── Validators │ │ ├── AuthorizedStateValidator.vb │ │ ├── CheckValueValidator.vb │ │ ├── ComponentTypeValidator.vb │ │ ├── DataLengthValidator.vb │ │ ├── FlexibleHexKeyValidator.vb │ │ ├── HexKeyValidator.vb │ │ ├── KeyLengthValidator.vb │ │ ├── KeySchemeValidator.vb │ │ ├── KeyTypeValidator.vb │ │ └── NumberOfComponentsValidator.vb ├── Cryptography │ ├── DES.vb │ ├── DUKPT │ │ ├── DerivedKey.vb │ │ └── KeySerialNumber.vb │ ├── EMV │ │ ├── KeyDerivation.vb │ │ ├── MasterKeyDerivationMethods.vb │ │ └── SessionKeyDerivationMethods.vb │ ├── HexKey.vb │ ├── LMK │ │ ├── LMKStorage.vb │ │ └── Variants.vb │ ├── MAC │ │ ├── ISO9797Algorithms.vb │ │ ├── ISO9797MAC.vb │ │ ├── ISO9797Pad.vb │ │ ├── ISO9797PaddingMethods.vb │ │ ├── ISOX919Blocks.vb │ │ └── ISOX919MAC.vb │ ├── RSA │ │ ├── RSAFunctions.vb │ │ └── RSAKey.vb │ └── TripleDES.vb ├── Doc │ ├── Doxyfile │ ├── Readme.txt │ ├── bin │ │ ├── ..svnbridge │ │ │ └── gawk.exe │ │ ├── gawk.exe │ │ └── vbfilter.awk │ ├── layout │ │ ├── DoxygenLayout.xml │ │ └── doxygen.css │ └── make.bat ├── ErrorCodes.vb ├── Exceptions │ ├── XDecryptError.vb │ ├── XEncryptError.vb │ ├── XFunctionNotPermitted.vb │ ├── XInvalidAccount.vb │ ├── XInvalidCheckValue.vb │ ├── XInvalidComponentType.vb │ ├── XInvalidConfiguration.vb │ ├── XInvalidData.vb │ ├── XInvalidKey.vb │ ├── XInvalidKeyLength.vb │ ├── XInvalidKeyScheme.vb │ ├── XInvalidKeyType.vb │ ├── XInvalidLMKTypeCode.vb │ ├── XInvalidNumberOfComponents.vb │ ├── XInvalidPINLength.vb │ ├── XInvalidStorageFile.vb │ ├── XNeedsAuthorizedState.vb │ ├── XNoDeterminerMatched.vb │ ├── XShortMessage.vb │ └── XUnsupportedPINBlockFormat.vb ├── HostCommands │ ├── AHostCommand.vb │ ├── BuildIn │ │ ├── CancelAuthState_RA.vb │ │ ├── CommandChaining_NK.vb │ │ ├── DecryptEncryptedPIN_NG.vb │ │ ├── DerivePINUsingTheIBMMethod.vb │ │ ├── DerivePINUsingTheIBMMethod_EE.vb │ │ ├── EchoTest_B2.vb │ │ ├── EncryptClearPIN_BA.vb │ │ ├── ExportKey_A8.vb │ │ ├── FormKeyFromEncryptedComponents_A4.vb │ │ ├── FormZMKFromThreeComponents_GG.vb │ │ ├── FormZMKFromTwoToNineComponents_GY.vb │ │ ├── GeneraceMACMABUsingAnsiX919ForLargeMessage_MS.vb │ │ ├── GenerateAMEXCSC_RY.vb │ │ ├── GenerateAndPrintComponent_A2.vb │ │ ├── GenerateAndPrintSplitComponents_NE.vb │ │ ├── GenerateAndPrintTMPTPKPVK_OE.vb │ │ ├── GenerateAndPrintZMKComponent_OC.vb │ │ ├── GenerateBDK_BI.vb │ │ ├── GenerateCVKPair_AS.vb │ │ ├── GenerateCheckValue_BU.vb │ │ ├── GenerateCheckValue_KA.vb │ │ ├── GenerateIBMOffset_DE.vb │ │ ├── GenerateKey_A0.vb │ │ ├── GenerateMACForLargeMessage_MQ.vb │ │ ├── GenerateMAC_M6.vb │ │ ├── GenerateMAC_MA.vb │ │ ├── GeneratePVKPair_FG.vb │ │ ├── GenerateRandomPIN_JA.vb │ │ ├── GenerateTAK_HA.vb │ │ ├── GenerateTMKTPKPVK_HC.vb │ │ ├── GenerateVISACVV_CW.vb │ │ ├── GenerateVISAPVV_DG.vb │ │ ├── GenerateZEKorZAK_FI.vb │ │ ├── GenerateZPK_IA.vb │ │ ├── HSMDiagnostics_NC.vb │ │ ├── HSMStatus_NO.vb │ │ ├── HashDataBlock_GM.vb │ │ ├── ImportKey_A6.vb │ │ ├── LoadAdditionalFormattingData_PC.vb │ │ ├── LoadFormattingData_PA.vb │ │ ├── LoadPINTextString_LI.vb │ │ ├── PrintPINSolicitationData_PE.vb │ │ ├── PrintPINSolicitationMailer_OA.vb │ │ ├── RSAEncryptTo3DES_SA.vb │ │ ├── SetHSMDelay_LG.vb │ │ ├── TranslateBDKFromLMKToZMK_DY.vb │ │ ├── TranslateBDKFromZMKToLMK_DW.vb │ │ ├── TranslateCVKFromLMKToZMK_AU.vb │ │ ├── TranslateCVKFromZMKToLMK_AW.vb │ │ ├── TranslateKeyScheme_B0.vb │ │ ├── TranslateKeysFromOldLMKToNewLMK_BW.vb │ │ ├── TranslatePINFromDUKPTToZPK3DES_G0.vb │ │ ├── TranslatePINFromDUKTPToZPK_CI.vb │ │ ├── TranslatePINFromLMKToZPK_JG.vb │ │ ├── TranslatePINFromTPKToLMK_JC.vb │ │ ├── TranslatePINFromTPKToZPK_CA.vb │ │ ├── TranslatePINFromVISAToRacal_BQ.vb │ │ ├── TranslatePINFromZPKToLMK_JE.vb │ │ ├── TranslatePINFromZPKToZPK_CC.vb │ │ ├── TranslateTAKFromLMKToTMK_AG.vb │ │ ├── TranslateTAKFromLMKToZMK_MG.vb │ │ ├── TranslateTAKFromZMKToLMK_MI.vb │ │ ├── TranslateTMKTPKPVKFromLMKToTMKTPKPVK_AE.vb │ │ ├── TranslateTMKTPKPVKFromLMKToZMK_FE.vb │ │ ├── TranslateTMPTPKPVKFromZMKToLMK_FC.vb │ │ ├── TranslateZEKORZAKFromLMKToZMK_FM.vb │ │ ├── TranslateZEKORZAKFromZMKToLMK_FK.vb │ │ ├── TranslateZMKFromZMKToLMK_BY.vb │ │ ├── TranslateZPKFromLMKToZMK_GC.vb │ │ ├── TranslateZPKFromZMKToLMK_FA.vb │ │ ├── VerifyARQCAndOrGenerateARPC_KQ.vb │ │ ├── VerifyAndGenerateVISAPVV_CU.vb │ │ ├── VerifyAndTranslateMAC_ME.vb │ │ ├── VerifyDukptPINWithIBMAlgorithm_CK.vb │ │ ├── VerifyDukptPINWithVisaAlgorithm_CM.vb │ │ ├── VerifyDynamicCVV_PM.vb │ │ ├── VerifyInterchangePINWithIBMAlgorithm_EA.vb │ │ ├── VerifyInterchangePINWithVISAAlgorithm_EC.vb │ │ ├── VerifyInterchangePinUsingComparisonMethod_BE.vb │ │ ├── VerifyMAC_M8.vb │ │ ├── VerifyMAC_MC.vb │ │ ├── VerifyPINSolicitationMailerCryptography_PG.vb │ │ ├── VerifySolicitationMailerCryptography_RC.vb │ │ ├── VerifyTerminalPINUsingComparisonMethod_BC.vb │ │ ├── VerifyTerminalPINWithVISAAlgorithm_DC.vb │ │ ├── VerifyTerminalPINwithIBMAlgorithm_DA.vb │ │ ├── VerifyTruncatedApplicationCryptogram_K2.vb │ │ └── VerifyVISACVV_CY.vb │ ├── CommandClass.vb │ ├── CommandExplorer.vb │ ├── Constants.vb │ ├── NoImplementation.vb │ ├── ThalesCommandCode.vb │ ├── TranslateFromKeyToLMK.vb │ └── TranslateFromLMKToKey.vb ├── KeySchemeTable.vb ├── KeyTypeTable.vb ├── LMKPairs.vb ├── Log │ ├── ILogProcs.vb │ └── Logger.vb ├── Message │ ├── Message.vb │ ├── MessageFieldDeterminer.vb │ ├── MessageFieldDeterminerCollection.vb │ ├── MessageFieldParser.vb │ ├── MessageFieldParserCollection.vb │ ├── MessageResponse.vb │ └── XML │ │ ├── MessageField.vb │ │ ├── MessageFieldTypes.vb │ │ ├── MessageFields.vb │ │ ├── MessageFieldsStore.vb │ │ ├── MessageParser.vb │ │ └── MessageValues.vb ├── My Project │ ├── Application.Designer.vb │ ├── Application.myapp │ ├── AssemblyInfo.vb │ ├── Resources.Designer.vb │ ├── Resources.resx │ ├── Settings.Designer.vb │ └── Settings.settings ├── PIN │ └── PINBlockFormat.vb ├── Resources.vb ├── TCP │ ├── TCPEventArgs.vb │ └── WorkerClient.vb ├── ThalesCore.vbproj ├── ThalesError.vb ├── ThalesMain.vb ├── ThalesParameters.xml ├── ThalesSim.snk ├── Utility.vb └── XMLDefs │ └── HostCommands │ ├── CommandChaining_NK.xml │ ├── DecryptEncryptedPIN_NG.xml │ ├── DerivePINUsingTheIBMMethod_EE.xml │ ├── EchoTest_B2.xml │ ├── EncryptClearPIN_BA.xml │ ├── ExportKey_A8.xml │ ├── FormKeyFromEncryptedComponents_A4.xml │ ├── FormZMKFromThreeComponents_GG.xml │ ├── FormZMKFromTwoToNineComponents_GY.xml │ ├── GeneraceMACMABUsingAnsiX919ForLargeMessage_MS.xml │ ├── GenerateAMEXCSC_RY.xml │ ├── GenerateAndPrintComponent_A2.xml │ ├── GenerateAndPrintSplitComponents_NE.xml │ ├── GenerateAndPrintTMPTPKPVK_OE.xml │ ├── GenerateAndPrintZMKComponent_OC.xml │ ├── GenerateBDK_BI.xml │ ├── GenerateCVKPair_AS.xml │ ├── GenerateCheckValue_BU.xml │ ├── GenerateCheckValue_KA.xml │ ├── GenerateIBMOffset_DE.xml │ ├── GenerateKey_A0.xml │ ├── GenerateMACForLargeMessage_MQ.xml │ ├── GenerateMAC_M6.xml │ ├── GenerateMAC_MA.xml │ ├── GeneratePVKPair_FG.xml │ ├── GenerateRandomPIN_JA.xml │ ├── GenerateTAK_HA.xml │ ├── GenerateTMKTPKPVK_HC.xml │ ├── GenerateVISACVV_CW.xml │ ├── GenerateVISAPVV_DG.xml │ ├── GenerateZEKorZAK_FI.xml │ ├── GenerateZPK_IA.xml │ ├── HSMStatus_NO.xml │ ├── HashDataBlock_GM.xml │ ├── HostCommandDefinitions.xsd │ ├── ImportKey_A6.xml │ ├── KeyScheme.xml │ ├── LargeMultiFormatKey.xml │ ├── MultiFormatCVK.xml │ ├── MultiFormatKey.xml │ ├── MultiFormatZMK.xml │ ├── PINBlockFormat.xml │ ├── RSAEncryptTo3DES_SA.xml │ ├── SetHSMDelay_LG.xml │ ├── SingleCommand.xml │ ├── TranslateBDKFromLMKToZMK_DY.xml │ ├── TranslateBDKFromZMKToLMK_DW.xml │ ├── TranslateCVKFromLMKToZMK_AU.xml │ ├── TranslateCVKFromZMKToLMK_AW.xml │ ├── TranslateKeyScheme_B0.xml │ ├── TranslateKeysFromOldLMKToNewLMK_BW.xml │ ├── TranslatePINFromDUKPTToZPK3DES_G0.xml │ ├── TranslatePINFromDUKPTToZPK_CI.xml │ ├── TranslatePINFromLMKToZPK_JG.xml │ ├── TranslatePINFromTPKToLMK_JC.xml │ ├── TranslatePINFromTPKToZPK_CA.xml │ ├── TranslatePINFromVISAToThales_BQ.xml │ ├── TranslatePINFromZPKToLMK_JE.xml │ ├── TranslatePINFromZPKToZPK_CC.xml │ ├── TranslateTAKFromLMKToTMK_AG.xml │ ├── TranslateTAKFromLMKToZMK_MG.xml │ ├── TranslateTAKFromZMKToLMK_MI.xml │ ├── TranslateTMKTPKPVKFromLMKToTMKTPKPVK_AE.xml │ ├── TranslateTMKTPKPVKFromLMKToZMK_FE.xml │ ├── TranslateTMPTPKPVKFromZMKToLMK_FC.xml │ ├── TranslateZEKORZAKFromLMKToZMK_FM.xml │ ├── TranslateZEKORZAKFromZMKToLMK_FK.xml │ ├── TranslateZMKFromZMKToLMK_BY.xml │ ├── TranslateZPKFromLMKToZMK_GC.xml │ ├── TranslateZPKFromZMKToLMK_FA.xml │ ├── VerifyARQCAndOrGenerateARPC_KQ.xml │ ├── VerifyAndGenerateVISAPVV_CU.xml │ ├── VerifyAndTranslateMAC_ME.xml │ ├── VerifyDukptPINWithIBMAlgorithm_CK.xml │ ├── VerifyDukptPINWithVISAAlgorithm_CM.xml │ ├── VerifyDynamicCVV_PM.xml │ ├── VerifyInterchangePINWithIBMAlgorithm_EA.xml │ ├── VerifyInterchangePINWithVISAAlgorithm_EC.xml │ ├── VerifyInterchangePinUsingComparisonMethod_BE.xml │ ├── VerifyMAC_M8.xml │ ├── VerifyMAC_MC.xml │ ├── VerifyTerminalPINWithVISAAlgorithm_DC.xml │ ├── VerifyTerminalPINwithIBMAlgorithm_DA.xml │ ├── VerifyTerminalPinUsingComparisonMethod_BC.xml │ ├── VerifyTruncatedApplicationCryptogram_K2.xml │ └── VerifyVISACVV_CY.xml ├── ThalesKeyManager ├── ..svnbridge │ └── .svnbridge ├── Classes │ ├── CryptoKey.vb │ ├── KeyInfo.vb │ ├── KeyInfos.vb │ └── KeyType.vb ├── Controls │ ├── HexDisplayControl.Designer.vb │ ├── HexDisplayControl.resx │ ├── HexDisplayControl.vb │ ├── KeyControl.Designer.vb │ ├── KeyControl.resx │ └── KeyControl.vb ├── My Project │ ├── Application.Designer.vb │ ├── Application.myapp │ ├── AssemblyInfo.vb │ ├── Resources.Designer.vb │ ├── Resources.resx │ ├── Settings.Designer.vb │ ├── Settings.settings │ └── app.manifest ├── ThalesKeyManager.vbproj ├── ThalesSim.snk ├── app.config ├── bin │ └── Debug │ │ └── ThalesParameters.xml ├── frmMain.Designer.vb ├── frmMain.resx ├── frmMain.vb ├── frmNewClearKey.Designer.vb ├── frmNewClearKey.resx ├── frmNewClearKey.vb ├── frmNewEncryptedKey.Designer.vb ├── frmNewEncryptedKey.resx ├── frmNewEncryptedKey.vb └── keys.ico ├── ThalesMobileSimulator ├── My Project │ ├── AssemblyInfo.vb │ ├── Resources.Designer.vb │ └── Resources.resx ├── ThalesCoreSource │ ├── ConsoleCommands │ │ ├── AConsoleCommand.vb │ │ ├── ConsoleCommandClass.vb │ │ ├── ConsoleCommandExplorer.vb │ │ ├── ConsoleMessage.vb │ │ ├── ConsoleMessageStack.vb │ │ ├── ExtendedValidator.vb │ │ ├── IConsoleDataValidator.vb │ │ ├── Implementations │ │ │ ├── CancelAuthorizedState_C.vb │ │ │ ├── DoubleLengthDESCalculator_$.vb │ │ │ ├── EncryptClearComponent_EC.vb │ │ │ ├── EncryptZMKComponent_Z.vb │ │ │ ├── EnterAuthorizedState_A.vb │ │ │ ├── ExportKey_KE.vb │ │ │ ├── FormKeyFromComponents_FK.vb │ │ │ ├── FormZMKFromEncryptedComponents_D.vb │ │ │ ├── GenerateKeyComponent_GC.vb │ │ │ ├── GenerateKey_KG.vb │ │ │ ├── GenerateZMKComponent_F.vb │ │ │ ├── ImportKey_IK.vb │ │ │ ├── QueryAuxilliary_QA.vb │ │ │ ├── QueryConsole_QC.vb │ │ │ ├── QueryHost_QH.vb │ │ │ ├── SingleLengthDESCalculator_N.vb │ │ │ ├── TripleLengthDESCalculator_T.vb │ │ │ └── ViewHSMSoftwareRevision_VR.vb │ │ ├── ThalesConsoleCommandCode.vb │ │ └── Validators │ │ │ ├── AuthorizedStateValidator.vb │ │ │ ├── CheckValueValidator.vb │ │ │ ├── ComponentTypeValidator.vb │ │ │ ├── DataLengthValidator.vb │ │ │ ├── FlexibleHexKeyValidator.vb │ │ │ ├── HexKeyValidator.vb │ │ │ ├── KeyLengthValidator.vb │ │ │ ├── KeySchemeValidator.vb │ │ │ ├── KeyTypeValidator.vb │ │ │ └── NumberOfComponentsValidator.vb │ ├── Cryptography │ │ ├── DES.vb │ │ ├── DUKPT │ │ │ ├── DerivedKey.vb │ │ │ └── KeySerialNumber.vb │ │ ├── EMV │ │ │ ├── KeyDerivation.vb │ │ │ ├── MasterKeyDerivationMethods.vb │ │ │ └── SessionKeyDerivationMethods.vb │ │ ├── HexKey.vb │ │ ├── LMK │ │ │ ├── LMKStorage.vb │ │ │ └── Variants.vb │ │ ├── MAC │ │ │ ├── ISO9797Algorithms.vb │ │ │ ├── ISO9797MAC.vb │ │ │ ├── ISO9797Pad.vb │ │ │ └── ISO9797PaddingMethods.vb │ │ └── TripleDES.vb │ ├── ErrorCodes.vb │ ├── Exceptions │ │ ├── XDecryptError.vb │ │ ├── XEncryptError.vb │ │ ├── XFunctionNotPermitted.vb │ │ ├── XInvalidAccount.vb │ │ ├── XInvalidCheckValue.vb │ │ ├── XInvalidComponentType.vb │ │ ├── XInvalidConfiguration.vb │ │ ├── XInvalidData.vb │ │ ├── XInvalidKey.vb │ │ ├── XInvalidKeyLength.vb │ │ ├── XInvalidKeyScheme.vb │ │ ├── XInvalidKeyType.vb │ │ ├── XInvalidLMKTypeCode.vb │ │ ├── XInvalidNumberOfComponents.vb │ │ ├── XInvalidPINLength.vb │ │ ├── XInvalidStorageFile.vb │ │ ├── XNeedsAuthorizedState.vb │ │ ├── XNoDeterminerMatched.vb │ │ ├── XShortMessage.vb │ │ └── XUnsupportedPINBlockFormat.vb │ ├── HostCommands │ │ ├── AHostCommand.vb │ │ ├── BuildIn │ │ │ ├── CancelAuthState_RA.vb │ │ │ ├── CommandChaining_NK.vb │ │ │ ├── DecryptEncryptedPIN_NG.vb │ │ │ ├── DerivePINUsingTheIBMMethod_EE.vb │ │ │ ├── EchoTest_B2.vb │ │ │ ├── EncryptClearPIN_BA.vb │ │ │ ├── ExportKey_A8.vb │ │ │ ├── FormKeyFromEncryptedComponents_A4.vb │ │ │ ├── FormZMKFromThreeComponents_GG.vb │ │ │ ├── FormZMKFromTwoToNineComponents_GY.vb │ │ │ ├── GenerateAndPrintComponent_A2.vb │ │ │ ├── GenerateAndPrintSplitComponents_NE.vb │ │ │ ├── GenerateAndPrintTMPTPKPVK_OE.vb │ │ │ ├── GenerateAndPrintZMKComponent_OC.vb │ │ │ ├── GenerateBDK_BI.vb │ │ │ ├── GenerateCVKPair_AS.vb │ │ │ ├── GenerateCheckValue_BU.vb │ │ │ ├── GenerateCheckValue_KA.vb │ │ │ ├── GenerateIBMOffset_DE.vb │ │ │ ├── GenerateKey_A0.vb │ │ │ ├── GenerateMACForLargeMessage_MQ.vb │ │ │ ├── GenerateMAC_M6.vb │ │ │ ├── GenerateMAC_MA.vb │ │ │ ├── GeneratePVKPair_FG.vb │ │ │ ├── GenerateRandomPIN_JA.vb │ │ │ ├── GenerateTAK_HA.vb │ │ │ ├── GenerateTMKTPKPVK_HC.vb │ │ │ ├── GenerateVISACVV_CW.vb │ │ │ ├── GenerateVISAPVV_DG.vb │ │ │ ├── GenerateZEKorZAK_FI.vb │ │ │ ├── GenerateZPK_IA.vb │ │ │ ├── HSMDiagnostics_NC.vb │ │ │ ├── HSMStatus_NO.vb │ │ │ ├── HashDataBlock_GM.vb │ │ │ ├── ImportKey_A6.vb │ │ │ ├── LoadAdditionalFormattingData_PC.vb │ │ │ ├── LoadFormattingData_PA.vb │ │ │ ├── LoadPINTextString_LI.vb │ │ │ ├── PrintPINSolicitationData_PE.vb │ │ │ ├── PrintPINSolicitationMailer_OA.vb │ │ │ ├── SetHSMDelay_LG.vb │ │ │ ├── TranslateBDKFromLMKToZMK_DY.vb │ │ │ ├── TranslateBDKFromZMKToLMK_DW.vb │ │ │ ├── TranslateCVKFromLMKToZMK_AU.vb │ │ │ ├── TranslateCVKFromZMKToLMK_AW.vb │ │ │ ├── TranslateKeyScheme_B0.vb │ │ │ ├── TranslateKeysFromOldLMKToNewLMK_BW.vb │ │ │ ├── TranslatePINFromDUKPTToZPK3DES_G0.vb │ │ │ ├── TranslatePINFromDUKTPToZPK_CI.vb │ │ │ ├── TranslatePINFromLMKToZPK_JG.vb │ │ │ ├── TranslatePINFromTPKToLMK_JC.vb │ │ │ ├── TranslatePINFromTPKToZPK_CA.vb │ │ │ ├── TranslatePINFromVISAToRacal_BQ.vb │ │ │ ├── TranslatePINFromZPKToLMK_JE.vb │ │ │ ├── TranslatePINFromZPKToZPK_CC.vb │ │ │ ├── TranslateTAKFromLMKToTMK_AG.vb │ │ │ ├── TranslateTAKFromLMKToZMK_MG.vb │ │ │ ├── TranslateTAKFromZMKToLMK_MI.vb │ │ │ ├── TranslateTMKTPKPVKFromLMKToTMKTPKPVK_AE.vb │ │ │ ├── TranslateTMKTPKPVKFromLMKToZMK_FE.vb │ │ │ ├── TranslateTMPTPKPVKFromZMKToLMK_FC.vb │ │ │ ├── TranslateZEKORZAKFromLMKToZMK_FM.vb │ │ │ ├── TranslateZEKORZAKFromZMKToLMK_FK.vb │ │ │ ├── TranslateZMKFromZMKToLMK_BY.vb │ │ │ ├── TranslateZPKFromLMKToZMK_GC.vb │ │ │ ├── TranslateZPKFromZMKToLMK_FA.vb │ │ │ ├── VerifyARQCAndOrGenerateARPC_KQ.vb │ │ │ ├── VerifyAndGenerateVISAPVV_CU.vb │ │ │ ├── VerifyAndTranslateMAC_ME.vb │ │ │ ├── VerifyDukptPINWithIBMAlgorithm_CK.vb │ │ │ ├── VerifyDukptPINWithVisaAlgorithm_CM.vb │ │ │ ├── VerifyDynamicCVV_PM.vb │ │ │ ├── VerifyInterchangePINWithIBMAlgorithm_EA.vb │ │ │ ├── VerifyInterchangePINWithVISAAlgorithm_EC.vb │ │ │ ├── VerifyInterchangePinUsingComparisonMethod_BE.vb │ │ │ ├── VerifyMAC_M8.vb │ │ │ ├── VerifyMAC_MC.vb │ │ │ ├── VerifyPINSolicitationMailerCryptography_PG.vb │ │ │ ├── VerifySolicitationMailerCryptography_RC.vb │ │ │ ├── VerifyTerminalPINUsingComparisonMethod_BC.vb │ │ │ ├── VerifyTerminalPINWithVISAAlgorithm_DC.vb │ │ │ ├── VerifyTerminalPINwithIBMAlgorithm_DA.vb │ │ │ ├── VerifyTruncatedApplicationCryptogram_K2.vb │ │ │ └── VerifyVISACVV_CY.vb │ │ ├── CommandClass.vb │ │ ├── CommandExplorer.vb │ │ ├── Constants.vb │ │ ├── NoImplementation.vb │ │ ├── ThalesCommandCode.vb │ │ ├── TranslateFromKeyToLMK.vb │ │ └── TranslateFromLMKToKey.vb │ ├── KeySchemeTable.vb │ ├── KeyTypeTable.vb │ ├── LMKPairs.vb │ ├── Log │ │ ├── ILogProcs.vb │ │ └── Logger.vb │ ├── Message │ │ ├── Message.vb │ │ ├── MessageResponse.vb │ │ └── XML │ │ │ ├── MessageField.vb │ │ │ ├── MessageFieldTypes.vb │ │ │ ├── MessageFields.vb │ │ │ ├── MessageFieldsStore.vb │ │ │ ├── MessageParser.vb │ │ │ └── MessageValues.vb │ ├── PIN │ │ └── PINBlockFormat.vb │ ├── Resources.vb │ ├── TCP │ │ ├── TCPEventArgs.vb │ │ └── WorkerClient.vb │ ├── ThalesError.vb │ ├── ThalesMain.vb │ ├── Utility.vb │ └── XMLDefs │ │ └── HostCommands │ │ ├── CommandChaining_NK.xml │ │ ├── DecryptEncryptedPIN_NG.xml │ │ ├── DerivePINUsingTheIBMMethod_EE.xml │ │ ├── EchoTest_B2.xml │ │ ├── EncryptClearPIN_BA.xml │ │ ├── ExportKey_A8.xml │ │ ├── FormKeyFromEncryptedComponents_A4.xml │ │ ├── FormZMKFromThreeComponents_GG.xml │ │ ├── FormZMKFromTwoToNineComponents_GY.xml │ │ ├── GenerateAndPrintComponent_A2.xml │ │ ├── GenerateAndPrintSplitComponents_NE.xml │ │ ├── GenerateAndPrintTMPTPKPVK_OE.xml │ │ ├── GenerateAndPrintZMKComponent_OC.xml │ │ ├── GenerateBDK_BI.xml │ │ ├── GenerateCVKPair_AS.xml │ │ ├── GenerateCheckValue_BU.xml │ │ ├── GenerateCheckValue_KA.xml │ │ ├── GenerateIBMOffset_DE.xml │ │ ├── GenerateKey_A0.xml │ │ ├── GenerateMACForLargeMessage_MQ.xml │ │ ├── GenerateMAC_M6.xml │ │ ├── GenerateMAC_MA.xml │ │ ├── GeneratePVKPair_FG.xml │ │ ├── GenerateRandomPIN_JA.xml │ │ ├── GenerateTAK_HA.xml │ │ ├── GenerateTMKTPKPVK_HC.xml │ │ ├── GenerateVISACVV_CW.xml │ │ ├── GenerateVISAPVV_DG.xml │ │ ├── GenerateZEKorZAK_FI.xml │ │ ├── GenerateZPK_IA.xml │ │ ├── HSMStatus_NO.xml │ │ ├── HashDataBlock_GM.xml │ │ ├── HostCommandDefinitions.xsd │ │ ├── ImportKey_A6.xml │ │ ├── KeyScheme.xml │ │ ├── LargeMultiFormatKey.xml │ │ ├── MultiFormatCVK.xml │ │ ├── MultiFormatKey.xml │ │ ├── MultiFormatZMK.xml │ │ ├── PINBlockFormat.xml │ │ ├── SetHSMDelay_LG.xml │ │ ├── SingleCommand.xml │ │ ├── TranslateBDKFromLMKToZMK_DY.xml │ │ ├── TranslateBDKFromZMKToLMK_DW.xml │ │ ├── TranslateCVKFromLMKToZMK_AU.xml │ │ ├── TranslateCVKFromZMKToLMK_AW.xml │ │ ├── TranslateKeyScheme_B0.xml │ │ ├── TranslateKeysFromOldLMKToNewLMK_BW.xml │ │ ├── TranslatePINFromDUKPTToZPK3DES_G0.xml │ │ ├── TranslatePINFromDUKPTToZPK_CI.xml │ │ ├── TranslatePINFromLMKToZPK_JG.xml │ │ ├── TranslatePINFromTPKToLMK_JC.xml │ │ ├── TranslatePINFromTPKToZPK_CA.xml │ │ ├── TranslatePINFromVISAToThales_BQ.xml │ │ ├── TranslatePINFromZPKToLMK_JE.xml │ │ ├── TranslatePINFromZPKToZPK_CC.xml │ │ ├── TranslateTAKFromLMKToTMK_AG.xml │ │ ├── TranslateTAKFromLMKToZMK_MG.xml │ │ ├── TranslateTAKFromZMKToLMK_MI.xml │ │ ├── TranslateTMKTPKPVKFromLMKToTMKTPKPVK_AE.xml │ │ ├── TranslateTMKTPKPVKFromLMKToZMK_FE.xml │ │ ├── TranslateTMPTPKPVKFromZMKToLMK_FC.xml │ │ ├── TranslateZEKORZAKFromLMKToZMK_FM.xml │ │ ├── TranslateZEKORZAKFromZMKToLMK_FK.xml │ │ ├── TranslateZMKFromZMKToLMK_BY.xml │ │ ├── TranslateZPKFromLMKToZMK_GC.xml │ │ ├── TranslateZPKFromZMKToLMK_FA.xml │ │ ├── VerifyARQCAndOrGenerateARPC_KQ.xml │ │ ├── VerifyAndGenerateVISAPVV_CU.xml │ │ ├── VerifyAndTranslateMAC_ME.xml │ │ ├── VerifyDukptPINWithIBMAlgorithm_CK.xml │ │ ├── VerifyDukptPINWithVISAAlgorithm_CM.xml │ │ ├── VerifyDynamicCVV_PM.xml │ │ ├── VerifyInterchangePINWithIBMAlgorithm_EA.xml │ │ ├── VerifyInterchangePINWithVISAAlgorithm_EC.xml │ │ ├── VerifyInterchangePinUsingComparisonMethod_BE.xml │ │ ├── VerifyMAC_M8.xml │ │ ├── VerifyMAC_MC.xml │ │ ├── VerifyTerminalPINWithVISAAlgorithm_DC.xml │ │ ├── VerifyTerminalPINwithIBMAlgorithm_DA.xml │ │ ├── VerifyTerminalPinUsingComparisonMethod_BC.xml │ │ ├── VerifyTruncatedApplicationCryptogram_K2.xml │ │ └── VerifyVISACVV_CY.xml ├── ThalesMobileSimulator.vbproj ├── ThalesSim.snk ├── frmMain.Designer.vb ├── frmMain.resx ├── frmMain.vb └── keys.ico ├── ThalesPVVClashingDemo ├── ..svnbridge │ └── .svnbridge ├── My Project │ ├── Application.Designer.vb │ ├── Application.myapp │ ├── AssemblyInfo.vb │ ├── Resources.Designer.vb │ ├── Resources.resx │ ├── Settings.Designer.vb │ └── Settings.settings ├── ThalesPVVClashingDemo.vbproj ├── ThalesSim.snk ├── app.config ├── frmMain.Designer.vb ├── frmMain.resx ├── frmMain.vb └── keys.ico ├── ThalesServiceSimulator ├── ..svnbridge │ └── .svnbridge ├── My Project │ ├── Application.Designer.vb │ ├── Application.myapp │ ├── AssemblyInfo.vb │ ├── Resources.Designer.vb │ ├── Resources.resx │ ├── Settings.Designer.vb │ └── Settings.settings ├── ProjectInstaller.Designer.vb ├── ProjectInstaller.resx ├── ProjectInstaller.vb ├── ThalesServiceSimulator.vbproj ├── ThalesSim.snk ├── ThalesSimService.Designer.vb ├── ThalesSimService.vb └── app.config ├── ThalesServiceSimulatorSetup ├── ThalesParameters.xml └── ThalesServiceSimulatorSetup.vdproj ├── ThalesSim.Core ├── ..svnbridge │ ├── .svnbridge │ └── ThalesSim.snk ├── Commands │ ├── Command.cs │ ├── CommandExplorer.cs │ ├── CommandType.cs │ ├── Console │ │ └── ThalesConsoleCommandAttribute.cs │ └── Host │ │ ├── AHostCommand.cs │ │ ├── AuthorizedStateAttribute.cs │ │ ├── HostCommand.cs │ │ ├── Implementations │ │ ├── CancelAuthState_RA.cs │ │ ├── DecryptEncryptedPIN_NG.cs │ │ ├── DerivePinUsingTheIBMMethod_EE.cs │ │ ├── EchoTest_B2.cs │ │ ├── EncryptClearPIN_BA.cs │ │ ├── ExportKey_A8.cs │ │ ├── FormKeyFromEncryptedComponents_A4.cs │ │ ├── FormZMKFromThreeComponents_GG.cs │ │ ├── FormZMKFromTwoToNineComponents_GY.cs │ │ ├── GenerateAndPrintComponent_A2.cs │ │ ├── GenerateKey_A0.cs │ │ ├── GenerateMACMABUsingAnsiX919ForLargeMessage_MS.cs │ │ ├── ImportKey_A6.cs │ │ ├── SetHsmDelay_LG.cs │ │ ├── TranslatePinFromLMKToZPK_JG.cs │ │ └── VerifyInterchangePinWithIBMAlgorithm_EA.cs │ │ └── ThalesHostCommandAttribute.cs ├── Cryptography │ ├── AuthStateRequirement.cs │ ├── AuthStateRequirements.cs │ ├── DES │ │ └── TripleDes.cs │ ├── HexKey.cs │ ├── HexKeyThales.cs │ ├── KeyFunction.cs │ ├── KeyLength.cs │ ├── KeyScheme.cs │ ├── KeyTypeCode.cs │ ├── LMK │ │ ├── LmkPair.cs │ │ ├── LmkStorage.cs │ │ └── Variants.cs │ ├── MAC │ │ ├── Iso9797Pad.cs │ │ ├── Iso9797PaddingMethodType.cs │ │ ├── IsoX919BlockType.cs │ │ └── IsoX919Mac.cs │ ├── PIN │ │ ├── Encrypt.cs │ │ ├── PinBlock.cs │ │ └── PinBlockFormat.cs │ ├── Parity.cs │ └── StateRequirementType.cs ├── Message │ ├── Field.cs │ ├── FieldType.cs │ ├── Fields.cs │ ├── FieldsStore.cs │ ├── MessageKeyValuePairs.cs │ ├── Parser.cs │ ├── StreamMessage.cs │ └── StreamResponse.cs ├── Processor │ └── HostCommandProcessor.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Settings.Designer.cs │ └── Settings.settings ├── Resources │ ├── ConfigHelpers.cs │ ├── ErrorCodes.cs │ └── Static.cs ├── ThalesSim.Core.csproj ├── ThalesSim.snk ├── Utility │ └── Extensions.cs └── app.config ├── ThalesSim.Tests.Unit ├── ..svnbridge │ └── .svnbridge ├── App.config ├── Commands │ ├── GenericCommandTests.cs │ └── HostCommandTests.cs ├── Cryptography │ ├── DES │ │ └── TripleDesTests.cs │ ├── KeyTests.cs │ ├── KeyTypeCodeTests.cs │ ├── LMK │ │ └── LmkTests.cs │ ├── MAC │ │ └── MacTests.cs │ └── PIN │ │ ├── EncryptTests.cs │ │ └── PinBlockTests.cs ├── Message │ ├── FieldsTests.cs │ ├── StreamMessageTests.cs │ └── StreamResponseTests.cs ├── Properties │ └── AssemblyInfo.cs ├── ThalesSim.Tests.Unit.csproj ├── Utility │ └── ExtensionTests.cs └── data │ ├── ..svnbridge │ └── .svnbridge │ └── tests1.json ├── ThalesSim.sln ├── ThalesSim.snk ├── ThalesSim.vsmdi ├── ThalesWinSimulator ├── ..svnbridge │ └── .svnbridge ├── My Project │ ├── Application.Designer.vb │ ├── Application.myapp │ ├── AssemblyInfo.vb │ ├── Resources.Designer.vb │ ├── Resources.resx │ ├── Settings.Designer.vb │ └── Settings.settings ├── ThalesSim.snk ├── ThalesWinSimulator.vbproj ├── app.config ├── bin │ └── Debug │ │ ├── ThalesMonoParameters.txt │ │ └── ThalesParameters.xml ├── frmAbout.Designer.vb ├── frmAbout.resx ├── frmAbout.vb ├── frmConsole.Designer.vb ├── frmConsole.resx ├── frmConsole.vb ├── frmKeyTypeTable.Designer.vb ├── frmKeyTypeTable.resx ├── frmKeyTypeTable.vb ├── frmMain.Designer.vb ├── frmMain.resx ├── frmMain.vb └── keys.ico ├── ThalesWinSimulatorSetup ├── ThalesParameters.xml └── ThalesWinSimulatorSetup.vdproj └── libs ├── ..svnbridge ├── .svnbridge ├── NSubstitute.dll ├── Rhino.Mocks.dll ├── ServiceStack.Text.dll ├── log4net.dll ├── nunit-console-runner.dll ├── nunit-gui-runner.dll ├── nunit.core.dll ├── nunit.core.interfaces.dll ├── nunit.framework.dll ├── nunit.mocks.dll ├── nunit.uiexception.dll ├── nunit.uikit.dll └── nunit.util.dll ├── NSubstitute.dll ├── Rhino.Mocks.dll ├── ServiceStack.Text.dll ├── log4net.dll ├── nunit-console-runner.dll ├── nunit-gui-runner.dll ├── nunit.core.dll ├── nunit.core.interfaces.dll ├── nunit.framework.dll ├── nunit.mocks.dll ├── nunit.uiexception.dll ├── nunit.uikit.dll └── nunit.util.dll /..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | bugtraq:numbertruesvn:ignoreTestResults 2 | _ReSharper.ThalesSim 3 | _UpgradeReport_Files 4 | -------------------------------------------------------------------------------- /Graphics/keys.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/Graphics/keys.ico -------------------------------------------------------------------------------- /HostCommands/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | bugtraq:numbertrue -------------------------------------------------------------------------------- /HostCommands/CancelAuthState_RA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Cancel the authorized state. 4 | RA 5 | RB 6 | 7 | 8 | -------------------------------------------------------------------------------- /HostCommands/CommandChaining_NK.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Allows multiple commands to be sent as a bundle. 4 | NK 5 | NL 6 | 7 | 8 | Header Flag 9 | 1 10 | Numeric 11 | 0 12 | 1 13 | 51 14 | 15 | 16 | 17 | Number Of Commands 18 | 2 19 | Character 20 | 21 | 22 | 23 | SubCommand 24 | SingleCommand.xml 25 | Number Of Commands 26 | true 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /HostCommands/DecryptEncryptedPIN_NG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Decrypt an encrypted PIN. 4 | NG 5 | NH 6 | 7 | 8 | Account Number 9 | 12 10 | Numeric 11 | 12 | 13 | 14 | PIN 15 | CLEAR_PIN_LENGTH 16 | Numeric 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /HostCommands/DerivePINUsingTheIBMMethod_EE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Derive a PIN using the IBM method. 4 | EE 5 | EF 6 | 7 | 8 | PVK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Offset 14 | 12 15 | Hexadecimal 16 | 17 | 18 | 19 | Check Length 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | Decimalisation Table 32 | 16 33 | Hexadecimal 34 | 35 | 36 | 37 | PIN Validation Data 38 | 12 39 | Character 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /HostCommands/EchoTest_B2.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Echo received data back to the user 4 | B2 5 | B3 6 | 7 | 8 | Length 9 | 4 10 | Hexadecimal 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /HostCommands/EncryptClearPIN_BA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Encrypts a clear PIN. 4 | BA 5 | BB 6 | 7 | 8 | PIN 9 | CLEAR_PIN_LENGTH 10 | Hexadecimal 11 | 12 | 13 | 14 | Account Number 15 | 12 16 | Numeric 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /HostCommands/ExportKey_A8.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Encrypts a key under ZMK for transmission 4 | A8 5 | A9 6 | 7 | 8 | Key Type 9 | 3 10 | Hexadecimal 11 | 12 | 13 | 14 | ZMK 15 | MultiFormatZMK.xml 16 | 17 | 18 | 19 | Key 20 | MultiFormatKey.xml 21 | 22 | 23 | 24 | Key Scheme ZMK 25 | KeyScheme.xml 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /HostCommands/FormKeyFromEncryptedComponents_A4.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Forms a key from encrypted components 4 | A4 5 | A5 6 | 7 | 8 | Number of Components 9 | 1 10 | Numeric 11 | 2 12 | 3 13 | 4 14 | 5 15 | 6 16 | 7 17 | 8 18 | 9 19 | 03 20 | 21 | 22 | 23 | Key Type 24 | 3 25 | Hexadecimal 26 | 27 | 28 | 29 | Key Scheme (LMK) 30 | KeyScheme.xml 31 | 32 | 33 | 34 | Key Component 35 | MultiFormatKey.xml 36 | Number of Components 37 | true 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /HostCommands/GenerateAndPrintComponent_A2.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generate and print a component. 4 | A2 5 | A3 6 | 7 | 8 | Key Type 9 | 3 10 | Character 11 | 12 | 13 | 14 | Key Scheme LMK 15 | KeyScheme.xml 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /HostCommands/GenerateAndPrintSplitComponents_NE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generate and print a key as split components. 4 | NE 5 | NF 6 | 7 | 8 | Key Type 9 | 3 10 | Character 11 | 12 | 13 | 14 | Key Scheme LMK 15 | KeyScheme.xml 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /HostCommands/GenerateBDK_BI.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a random BDK. 4 | BI 5 | BJ 6 | 7 | 8 | Delimiter 9 | 1 10 | Character 11 | ; 12 | 13 | 14 | 15 | Reserved 16 | 1 17 | Character 18 | Delimiter 19 | ; 20 | false 21 | 22 | 23 | 24 | Key Scheme LMK 25 | 1 26 | Character 27 | Delimiter 28 | ; 29 | false 30 | 31 | 32 | 33 | Reserved 2 34 | 1 35 | Character 36 | Delimiter 37 | ; 38 | false 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /HostCommands/GenerateCVKPair_AS.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a VISA CVK pair. 4 | AS 5 | AT 6 | 7 | 8 | Delimiter 9 | 1 10 | Character 11 | ; 12 | 13 | 14 | 15 | Reserved 16 | 1 17 | Numeric 18 | Delimiter 19 | ; 20 | false 21 | 0 22 | 26 23 | 24 | 25 | 26 | Key Scheme LMK 27 | KeyScheme.xml 28 | Delimiter 29 | ; 30 | false 31 | 32 | 33 | 34 | Key Check Value Type 35 | 1 36 | Numeric 37 | Delimiter 38 | ; 39 | false 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /HostCommands/GenerateIBMOffset_DE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates an IBM PIN Offset. 4 | DE 5 | DF 6 | 7 | 8 | PVK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN 14 | CLEAR_PIN_LENGTH 15 | Numeric 16 | 17 | 18 | 19 | Check Length 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | Decimalisation Table 32 | 16 33 | Hexadecimal 34 | 35 | 36 | 37 | PIN Validation Data 38 | 12 39 | Character 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /HostCommands/GenerateKey_A0.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates and encrypts key under ZMK for transmission. 4 | A0 5 | A1 6 | 7 | 8 | Mode 9 | 1 10 | Hexadecimal 11 | 12 | 13 | 14 | Key Type 15 | 3 16 | Hexadecimal 17 | 18 | 19 | 20 | Key Scheme LMK 21 | 1 22 | Character 23 | 24 | 25 | 26 | ZMK 27 | MultiFormatZMK.xml 28 | Mode 29 | 1 30 | false 31 | 32 | 33 | 34 | Key Scheme ZMK 35 | 1 36 | Character 37 | Mode 38 | 1 39 | false 40 | 41 | 42 | -------------------------------------------------------------------------------- /HostCommands/GenerateMACForLargeMessage_MQ.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a MAC for a large message. 4 | MQ 5 | MR 6 | 7 | 8 | Message Block Number 9 | 1 10 | Numeric 11 | 12 | 13 | 14 | ZAK 15 | MultiFormatKey.xml 16 | 17 | 18 | 19 | IV 20 | 16 21 | Hexadecimal 22 | Message Block Number 23 | 2,3 24 | 25 | 26 | 27 | Message Length 28 | 3 29 | Hexadecimal 30 | 31 | 32 | 33 | Message Block 34 | 0 35 | Binary 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /HostCommands/GenerateMAC_MA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a MAC. 4 | MA 5 | MB 6 | 7 | 8 | TAC 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Data 14 | 0 15 | Binary 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /HostCommands/GenerateRandomPIN_JA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a random PIN of 4 to 12 digits. 4 | JA 5 | JB 6 | 7 | 8 | Account Number 9 | 12 10 | Numeric 11 | 12 | 13 | 14 | PIN Length 15 | 2 16 | Numeric 17 | 04 18 | 05 19 | 06 20 | 07 21 | 08 22 | 09 23 | 10 24 | 11 25 | 12 26 | 15 27 | 04 28 | 05 29 | 06 30 | 07 31 | 08 32 | 09 33 | 10 34 | 11 35 | 12 36 | 37 | 38 | -------------------------------------------------------------------------------- /HostCommands/GenerateTAK_HA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a TAK. 4 | HA 5 | HB 6 | 7 | 8 | TMK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Delimiter 14 | 1 15 | Character 16 | ; 17 | 18 | 19 | 20 | Key Scheme TMK 21 | 1 22 | Character 23 | Delimiter 24 | ; 25 | false 26 | 27 | 28 | 29 | Key Scheme LMK 30 | 1 31 | Character 32 | Delimiter 33 | ; 34 | false 35 | 36 | 37 | 38 | Reserved 39 | 1 40 | Character 41 | Delimiter 42 | ; 43 | false 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /HostCommands/GenerateTMKTPKPVK_HC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a random TMK, TPK or PVK. 4 | HC 5 | HD 6 | 7 | 8 | Key 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Delimiter 14 | 1 15 | Character 16 | ; 17 | 18 | 19 | 20 | Key Scheme TMK 21 | 1 22 | Character 23 | Delimiter 24 | ; 25 | false 26 | 27 | 28 | 29 | Key Scheme LMK 30 | 1 31 | Character 32 | Delimiter 33 | ; 34 | false 35 | 36 | 37 | 38 | Reserved 39 | 1 40 | Character 41 | Delimiter 42 | ; 43 | false 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /HostCommands/GenerateVISACVV_CW.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a VISA CVV. 4 | CW 5 | CX 6 | 7 | 8 | CVK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | Primary Account Number 14 | 1 15 | ; 16 | Numeric 17 | 18 | 19 | 20 | Delimiter 21 | 1 22 | Character 23 | ; 24 | 25 | 26 | 27 | Expiration Date 28 | 4 29 | Numeric 30 | 31 | 32 | 33 | Service Code 34 | 3 35 | Numeric 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /HostCommands/GenerateVISAPVV_DG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a 4-digit VISA PVV. 4 | DG 5 | DH 6 | 7 | 8 | PVK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | PIN 14 | CLEAR_PIN_LENGTH 15 | Numeric 16 | 17 | 18 | 19 | Account Number 20 | 12 21 | Numeric 22 | 23 | 24 | 25 | PVKI 26 | 1 27 | Numeric 28 | 29 | 30 | 31 | Delimiter 32 | 1 33 | Character 34 | ; 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /HostCommands/HSMStatus_NO.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Returns HSM status information. 4 | NO 5 | NO 6 | 7 | 8 | Mode Flag 9 | 2 10 | Hexadecimal 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /HostCommands/HashDataBlock_GM.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Hashes a block of data. 4 | GM 5 | GN 6 | 7 | 8 | Hash Identifier 9 | 2 10 | Numeric 11 | 01 12 | 02 13 | 03 14 | 05 15 | 06 16 | 07 17 | 08 18 | 05 19 | 20 | 21 | 22 | Data Length 23 | 5 24 | Numeric 25 | 26 | 27 | 28 | Message Data 29 | 0 30 | Binary 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /HostCommands/ImportKey_A6.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Imports a key encrypted under a ZMK. 4 | A6 5 | A7 6 | 7 | 8 | Key Type 9 | 3 10 | Hexadecimal 11 | 12 | 13 | 14 | ZMK 15 | MultiFormatZMK.xml 16 | 17 | 18 | 19 | Key 20 | MultiFormatKey.xml 21 | 22 | 23 | 24 | Key Scheme LMK 25 | 1 26 | Character 27 | 28 | 29 | 30 | Atalla Variant 31 | 0 32 | Numeric 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /HostCommands/KeyScheme.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | #replace# 7 | 1 8 | Character 9 | Z 10 | U 11 | T 12 | X 13 | Y 14 | 0 15 | 26 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /HostCommands/MultiFormatCVK.xml: -------------------------------------------------------------------------------- 1 |  2 | 4 | 5 | 6 | 7 | #replace# Scheme 8 | 1 9 | Character 10 | U 11 | T 12 | X 13 | Y 14 | 15 | 16 | 17 | #replace# 18 | Double-Length Variant 19 | 32 20 | Hexadecimal 21 | #replace# Scheme 22 | U 23 | 24 | 25 | 26 | #replace# 27 | Double-Length ANSI 28 | 32 29 | Hexadecimal 30 | #replace# Scheme 31 | X 32 | 33 | 34 | 35 | #replace# 36 | Double-length ANSI 37 | 32 38 | Hexadecimal 39 | #replace# Scheme 40 | 41 | 42 | -------------------------------------------------------------------------------- /HostCommands/PINBlockFormat.xml: -------------------------------------------------------------------------------- 1 |  2 | 4 | 5 | 6 | 7 | #replace# 8 | 2 9 | Numeric 10 | 01 11 | 02 12 | 03 13 | 04 14 | 15 | 16 | -------------------------------------------------------------------------------- /HostCommands/SetHSMDelay_LG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Sets an HSM response delay. 4 | LG 5 | LH 6 | 7 | 8 | Delay 9 | 3 10 | Numeric 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /HostCommands/SingleCommand.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | #replace# Length 7 | 4 8 | Numeric 9 | 10 | 11 | 12 | #replace# Data 13 | 1 14 | #replace# Length 15 | Character 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /HostCommands/TranslateKeyScheme_B0.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates an existing key to a new key scheme 4 | B0 5 | B1 6 | 7 | 8 | Key Type 9 | 3 10 | Numeric 11 | 12 | 13 | 14 | Key 15 | LargeMultiFormatKey.xml 16 | 17 | 18 | 19 | Key Scheme (LMK) 20 | KeyScheme.xml 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /HostCommands/TranslatePINFromDUKPTToZPK_CI.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN block from DUKPT to ZPK encryption. 4 | CI 5 | CJ 6 | 7 | 8 | BDK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | ZPK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | KSN Descriptor 19 | 3 20 | Hexadecimal 21 | 22 | 23 | 24 | Key Serial Number 25 | 20 26 | Hexadecimal 27 | 28 | 29 | 30 | Encrypted Block 31 | 16 32 | Hexadecimal 33 | 34 | 35 | 36 | Destination PIN Block Format Code 37 | 2 38 | Numeric 39 | 40 | 41 | 42 | Account Number 43 | 12 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /HostCommands/TranslatePINFromLMKToZPK_JG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from LMK to ZPK encryption. 4 | JG 5 | JH 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block Format Code 14 | 2 15 | Numeric 16 | 17 | 18 | 19 | Account Number 20 | 12 21 | Numeric 22 | 23 | 24 | 25 | PIN 26 | CLEAR_PIN_LENGTH 27 | Hexadecimal 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /HostCommands/TranslatePINFromTPKToLMK_JC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from TPK to LMK encryption. 4 | JC 5 | JD 6 | 7 | 8 | TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /HostCommands/TranslatePINFromTPKToZPK_CA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translate PIN From TPK to ZPK 4 | CA 5 | CB 6 | 7 | 8 | Source TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Destination ZPK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | PIN Length 19 | 2 20 | Numeric 21 | 12 22 | 15 23 | 24 | 25 | 26 | Source PIN Block 27 | 16 28 | Hexadecimal 29 | 30 | 31 | 32 | Source PIN Block Format 33 | PINBlockFormat.xml 34 | 35 | 36 | 37 | Target PIN Block Format 38 | PINBlockFormat.xml 39 | 40 | 41 | 42 | Account Number 43 | 12 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /HostCommands/TranslatePINFromVISAToThales_BQ.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from VISA to Thales encryption 4 | BQ 5 | BR 6 | 7 | 8 | Account Number 9 | 12 10 | Numeric 11 | 12 | 13 | 14 | PIN 15 | CLEAR_PIN_LENGTH 16 | Hexadecimal 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /HostCommands/TranslatePINFromZPKToLMK_JE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from ZPK to LMK encryption. 4 | JE 5 | JF 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /HostCommands/TranslatePINFromZPKToZPK_CC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN block from ZPK to ZPK encryption. 4 | CC 5 | CD 6 | 7 | 8 | Source ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Destination ZPK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | Max PIN Length 19 | 2 20 | Numeric 21 | 12 22 | 15 23 | 24 | 25 | 26 | Source PIN Block 27 | 16 28 | Hexadecimal 29 | 30 | 31 | 32 | Source PIN Block Format Code 33 | 2 34 | Numeric 35 | 36 | 37 | 38 | Destination PIN Block Format Code 39 | 2 40 | Numeric 41 | 42 | 43 | 44 | Account Number 45 | 12 46 | Numeric 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /HostCommands/VerifyAndTranslateMAC_ME.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies and translates a MAC. 4 | ME 5 | MF 6 | 7 | 8 | Source TAK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Destination TAK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | MAC 19 | 8 20 | Hexadecimal 21 | 22 | 23 | 24 | Data 25 | 0 26 | Binary 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /HostCommands/VerifyDukptPINWithVISAAlgorithm_CM.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a DUKPT PIN using the VISA algorithm. 4 | CM 5 | CN 6 | 7 | 8 | BDK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | PVK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | KSN Descriptor 19 | 3 20 | Hexadecimal 21 | 22 | 23 | 24 | Key Serial Number 25 | 20 26 | Hexadecimal 27 | 28 | 29 | 30 | Encrypted Block 31 | 16 32 | Hexadecimal 33 | 34 | 35 | 36 | Account Number 37 | 12 38 | Numeric 39 | 40 | 41 | 42 | PVKI 43 | 1 44 | Numeric 45 | 46 | 47 | 48 | PVV 49 | 4 50 | Numeric 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /HostCommands/VerifyInterchangePINWithVISAAlgorithm_EC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies an interchange PIN using the VISA algorithm. 4 | EC 5 | ED 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PVK 14 | MultiFormatCVK.xml 15 | 16 | 17 | 18 | PIN Block 19 | 16 20 | Hexadecimal 21 | 22 | 23 | 24 | PIN Block Format Code 25 | 2 26 | Numeric 27 | 28 | 29 | 30 | Account Number 31 | 12 32 | Numeric 33 | 34 | 35 | 36 | PVKI 37 | 1 38 | Numeric 39 | 40 | 41 | 42 | PVV 43 | 4 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /HostCommands/VerifyInterchangePinUsingComparisonMethod_BE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verify a PIN received from interchange by comparing it with a value held on the Host database 4 | BE 5 | BF 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | PIN 32 | CLEAR_PIN_LENGTH 33 | Hexadecimal 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /HostCommands/VerifyMAC_MC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a MAC. 4 | MC 5 | MD 6 | 7 | 8 | TAK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | MAC 14 | 8 15 | Hexadecimal 16 | 17 | 18 | 19 | Data 20 | 0 21 | Binary 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /HostCommands/VerifyTerminalPINWithVISAAlgorithm_DC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a terminal PIN using the VISA algorithm. 4 | DC 5 | DD 6 | 7 | 8 | TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PVK 14 | MultiFormatCVK.xml 15 | 16 | 17 | 18 | PIN Block 19 | 16 20 | Hexadecimal 21 | 22 | 23 | 24 | PIN Block Format Code 25 | 2 26 | Numeric 27 | 28 | 29 | 30 | Account Number 31 | 12 32 | Numeric 33 | 34 | 35 | 36 | PVKI 37 | 1 38 | Numeric 39 | 40 | 41 | 42 | PVV 43 | 4 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /HostCommands/VerifyTerminalPinUsingComparisonMethod_BC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verify a terminal PIN by comparing it with a value held on the Host database 4 | BC 5 | BD 6 | 7 | 8 | TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | PIN 32 | CLEAR_PIN_LENGTH 33 | Hexadecimal 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /HostCommands/VerifyVISACVV_CY.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a VISA CVV. 4 | CY 5 | CZ 6 | 7 | 8 | CVK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | CVV 14 | 3 15 | Numeric 16 | 17 | 18 | 19 | Account Number 20 | 1 21 | ; 22 | Numeric 23 | 24 | 25 | 26 | Delimiter 27 | 1 28 | Character 29 | 30 | 31 | 32 | Expiration Date 33 | 4 34 | Numeric 35 | 36 | 37 | 38 | Service Code 39 | 3 40 | Numeric 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /LocalTestRun.testrunconfig: -------------------------------------------------------------------------------- 1 |  2 | 3 | This is a default test run configuration for a local test run. 4 | 5 | -------------------------------------------------------------------------------- /ThalesConsoleSimulator/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:ignore*.aps 9 | *.eto 10 | *.user 11 | [Bb]in 12 | [Dd]ebug 13 | [Rr]elease 14 | obj 15 | -------------------------------------------------------------------------------- /ThalesConsoleSimulator/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.269 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | -------------------------------------------------------------------------------- /ThalesConsoleSimulator/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | false 4 | false 5 | 0 6 | true 7 | 0 8 | 2 9 | true 10 | 11 | -------------------------------------------------------------------------------- /ThalesConsoleSimulator/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ThalesConsoleSimulator/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ThalesConsoleSimulator/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ThalesConsoleSimulator/bin/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | bugtraq:numbertruesvn:ignoreRelease 2 | -------------------------------------------------------------------------------- /ThalesConsoleSimulator/bin/Debug/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | bugtraq:numbertruesvn:ignoreLMKSTORAGE.TXT 2 | ThalesConsoleSimulator.exe 3 | ThalesConsoleSimulator.exe.config 4 | ThalesConsoleSimulator.pdb 5 | ThalesConsoleSimulator.xml 6 | ThalesCore.dll 7 | ThalesCore.pdb 8 | ThalesCore.xml 9 | -------------------------------------------------------------------------------- /ThalesConsoleSimulator/bin/Debug/ThalesMonoParameters.txt: -------------------------------------------------------------------------------- 1 | ; 2 | ; Config file for Mono. 3 | ; 4 | Port=9998 5 | ConsolePort=9997 6 | MaxConnections=5 7 | LMKStorageFile= 8 | VBSourceDirectory= 9 | XMLHostDefinitionsDirectory= 10 | LogLevel=5 11 | CheckLMKParity=True 12 | ClearPINLength=4 13 | FirmwareNumber=0007-E000 14 | DSPFirmwareNumber=0001 15 | StartInAuthorizedState=True 16 | DoubleLengthZMKs=True 17 | LegacyMode=False 18 | ExpectTrailers=False 19 | HeaderLength=4 20 | EBCDIC=True -------------------------------------------------------------------------------- /ThalesConsoleSimulator/keys.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesConsoleSimulator/keys.ico -------------------------------------------------------------------------------- /ThalesCore.Tests.Mono/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | -------------------------------------------------------------------------------- /ThalesCore.Tests.Mono/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.269 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | -------------------------------------------------------------------------------- /ThalesCore.Tests.Mono/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | false 4 | false 5 | 0 6 | true 7 | 0 8 | 2 9 | true 10 | 11 | -------------------------------------------------------------------------------- /ThalesCore.Tests.Mono/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ThalesCore.Tests.Mono/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ThalesCore.Tests.Mono/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ThalesCore.Tests/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | bugtraq:numbertruesvn:ignorebin 2 | obj 3 | -------------------------------------------------------------------------------- /ThalesCore.Tests/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ThalesCore/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | -------------------------------------------------------------------------------- /ThalesCore/Cryptography/EMV/MasterKeyDerivationMethods.vb: -------------------------------------------------------------------------------- 1 | '' 2 | '' This program is free software; you can redistribute it and/or modify 3 | '' it under the terms of the GNU General Public License as published by 4 | '' the Free Software Foundation; either version 2 of the License, or 5 | '' (at your option) any later version. 6 | '' 7 | '' This program is distributed in the hope that it will be useful, 8 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | '' GNU General Public License for more details. 11 | '' 12 | '' You should have received a copy of the GNU General Public License 13 | '' along with this program; if not, write to the Free Software 14 | '' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | '' 16 | 17 | Namespace Cryptography.EMV 18 | 19 | ''' 20 | ''' Defines the master key derivation methods. 21 | ''' 22 | ''' 23 | Public Enum MasterKeyDerivationMethods 24 | EMV_4_2_OptionA = 0 25 | EMV_4_2_OptionB 26 | End Enum 27 | 28 | End Namespace -------------------------------------------------------------------------------- /ThalesCore/Cryptography/EMV/SessionKeyDerivationMethods.vb: -------------------------------------------------------------------------------- 1 | '' 2 | '' This program is free software; you can redistribute it and/or modify 3 | '' it under the terms of the GNU General Public License as published by 4 | '' the Free Software Foundation; either version 2 of the License, or 5 | '' (at your option) any later version. 6 | '' 7 | '' This program is distributed in the hope that it will be useful, 8 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | '' GNU General Public License for more details. 11 | '' 12 | '' You should have received a copy of the GNU General Public License 13 | '' along with this program; if not, write to the Free Software 14 | '' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | '' 16 | 17 | Namespace Cryptography.EMV 18 | 19 | ''' 20 | ''' Defines the session key derivation methods. 21 | ''' 22 | ''' 23 | Public Enum SessionKeyDerivationMethods 24 | NoSessionKey = 0 25 | MasterCard_Method 26 | End Enum 27 | 28 | End Namespace -------------------------------------------------------------------------------- /ThalesCore/Cryptography/MAC/ISO9797Algorithms.vb: -------------------------------------------------------------------------------- 1 | '' 2 | '' This program is free software; you can redistribute it and/or modify 3 | '' it under the terms of the GNU General Public License as published by 4 | '' the Free Software Foundation; either version 2 of the License, or 5 | '' (at your option) any later version. 6 | '' 7 | '' This program is distributed in the hope that it will be useful, 8 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | '' GNU General Public License for more details. 11 | '' 12 | '' You should have received a copy of the GNU General Public License 13 | '' along with this program; if not, write to the Free Software 14 | '' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | '' 16 | 17 | Namespace Cryptography.MAC 18 | 19 | ''' 20 | ''' Describes the MAC algorithms as defined in ISO 9797. 21 | ''' 22 | ''' 23 | Public Enum ISO9797Algorithms 24 | MACAlgorithm1 = 0 25 | MACAlgorithm3 26 | End Enum 27 | 28 | End Namespace -------------------------------------------------------------------------------- /ThalesCore/Cryptography/MAC/ISO9797PaddingMethods.vb: -------------------------------------------------------------------------------- 1 | '' 2 | '' This program is free software; you can redistribute it and/or modify 3 | '' it under the terms of the GNU General Public License as published by 4 | '' the Free Software Foundation; either version 2 of the License, or 5 | '' (at your option) any later version. 6 | '' 7 | '' This program is distributed in the hope that it will be useful, 8 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | '' GNU General Public License for more details. 11 | '' 12 | '' You should have received a copy of the GNU General Public License 13 | '' along with this program; if not, write to the Free Software 14 | '' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | '' 16 | 17 | Namespace Cryptography.MAC 18 | 19 | ''' 20 | ''' Describes the padding methods defined in ISO 9797. 21 | ''' 22 | ''' 23 | Public Enum ISO9797PaddingMethods 24 | NoPadding = 0 25 | PaddingMethod1 26 | PaddingMethod2 27 | End Enum 28 | 29 | End Namespace -------------------------------------------------------------------------------- /ThalesCore/Doc/bin/..svnbridge/gawk.exe: -------------------------------------------------------------------------------- 1 | svn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /ThalesCore/Doc/bin/gawk.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesCore/Doc/bin/gawk.exe -------------------------------------------------------------------------------- /ThalesCore/Doc/make.bat: -------------------------------------------------------------------------------- 1 | rem |---------------------------------------------------- 2 | rem | MAKE.BAT 3 | rem |----------------------------------------------------------------------------- 4 | rem | Creation: 21.06.2010 Vsevolod Kukol 5 | rem | Last Update: 25.06.2010 Vsevolod Kukol 6 | rem | 7 | rem | Copyright (c) 2010 Vsevolod Kukol, sevo(at)sevo(dot)org 8 | rem | 9 | rem | This program is free software; you can redistribute it and/or modify 10 | rem | it under the terms of the GNU General Public License as published by 11 | rem | the Free Software Foundation; either version 2 of the License, or 12 | rem | (at your option) any later version. 13 | rem |----------------------------------------------------------------------------- 14 | 15 | @echo off 16 | 17 | rem save current working dir and cd to doc root 18 | pushd %~dp0 19 | 20 | rem get the base directory containing make.bat 21 | set DirName= 22 | set DirPath=%~dp0 23 | 24 | :loop 25 | If "%DirPath%" == "" GoTo :loop_done 26 | For /F "tokens=1* delims=\" %%a in ("%DirPath%") Do set DirName=%%a 27 | For /F "tokens=1* delims=\" %%a in ("%DirPath%") Do Set DirPath=%%b 28 | GoTo :loop 29 | 30 | :loop_done 31 | rem switch to project root 32 | cd .. 33 | 34 | rem run Doxygen 35 | doxygen %DirName%\Doxyfile 36 | 37 | rem cd back to original working dir 38 | popd 39 | -------------------------------------------------------------------------------- /ThalesCore/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.269 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | -------------------------------------------------------------------------------- /ThalesCore/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | false 4 | false 5 | 0 6 | true 7 | 0 8 | 1 9 | true 10 | 11 | -------------------------------------------------------------------------------- /ThalesCore/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ThalesCore/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ThalesCore/TCP/TCPEventArgs.vb: -------------------------------------------------------------------------------- 1 | Public Class TCPEventArgs 2 | 3 | Public RemoteClient As String 4 | 5 | Public Data() As Byte 6 | 7 | End Class 8 | -------------------------------------------------------------------------------- /ThalesCore/ThalesSim.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesCore/ThalesSim.snk -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/CommandChaining_NK.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Allows multiple commands to be sent as a bundle. 4 | NK 5 | NL 6 | 7 | 8 | Header Flag 9 | 1 10 | Numeric 11 | 0 12 | 1 13 | 51 14 | 15 | 16 | 17 | Number Of Commands 18 | 2 19 | Character 20 | 21 | 22 | 23 | SubCommand 24 | SingleCommand.xml 25 | Number Of Commands 26 | true 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/DecryptEncryptedPIN_NG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Decrypt an encrypted PIN. 4 | NG 5 | NH 6 | 7 | 8 | Account Number 9 | 12 10 | Numeric 11 | 12 | 13 | 14 | PIN 15 | CLEAR_PIN_LENGTH 16 | Numeric 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/DerivePINUsingTheIBMMethod_EE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Derive a PIN using the IBM method. 4 | EE 5 | EF 6 | 7 | 8 | PVK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Offset 14 | 12 15 | Hexadecimal 16 | 17 | 18 | 19 | Check Length 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | Decimalisation Table 32 | 16 33 | Hexadecimal 34 | 35 | 36 | 37 | PIN Validation Data 38 | 12 39 | Character 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/EchoTest_B2.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Echo received data back to the user 4 | B2 5 | B3 6 | 7 | 8 | Length 9 | 4 10 | Hexadecimal 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/EncryptClearPIN_BA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Encrypts a clear PIN. 4 | BA 5 | BB 6 | 7 | 8 | PIN 9 | CLEAR_PIN_LENGTH 10 | Hexadecimal 11 | 12 | 13 | 14 | Account Number 15 | 12 16 | Numeric 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/ExportKey_A8.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Encrypts a key under ZMK for transmission 4 | A8 5 | A9 6 | 7 | 8 | Key Type 9 | 3 10 | Hexadecimal 11 | 12 | 13 | 14 | ZMK 15 | MultiFormatZMK.xml 16 | 17 | 18 | 19 | Key 20 | MultiFormatKey.xml 21 | 22 | 23 | 24 | Key Scheme ZMK 25 | KeyScheme.xml 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/FormKeyFromEncryptedComponents_A4.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Forms a key from encrypted components 4 | A4 5 | A5 6 | 7 | 8 | Number of Components 9 | 1 10 | Numeric 11 | 2 12 | 3 13 | 4 14 | 5 15 | 6 16 | 7 17 | 8 18 | 9 19 | 03 20 | 21 | 22 | 23 | Key Type 24 | 3 25 | Hexadecimal 26 | 27 | 28 | 29 | Key Scheme (LMK) 30 | KeyScheme.xml 31 | 32 | 33 | 34 | Key Component 35 | MultiFormatKey.xml 36 | Number of Components 37 | true 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateAndPrintComponent_A2.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generate and print a component. 4 | A2 5 | A3 6 | 7 | 8 | Key Type 9 | 3 10 | Character 11 | 12 | 13 | 14 | Key Scheme LMK 15 | KeyScheme.xml 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateAndPrintSplitComponents_NE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generate and print a key as split components. 4 | NE 5 | NF 6 | 7 | 8 | Key Type 9 | 3 10 | Character 11 | 12 | 13 | 14 | Key Scheme LMK 15 | KeyScheme.xml 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateBDK_BI.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a random BDK. 4 | BI 5 | BJ 6 | 7 | 8 | Delimiter 9 | 1 10 | Character 11 | ; 12 | 13 | 14 | 15 | Reserved 16 | 1 17 | Character 18 | Delimiter 19 | ; 20 | false 21 | 22 | 23 | 24 | Key Scheme LMK 25 | 1 26 | Character 27 | Delimiter 28 | ; 29 | false 30 | 31 | 32 | 33 | Reserved 2 34 | 1 35 | Character 36 | Delimiter 37 | ; 38 | false 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateCVKPair_AS.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a VISA CVK pair. 4 | AS 5 | AT 6 | 7 | 8 | Delimiter 9 | 1 10 | Character 11 | ; 12 | 13 | 14 | 15 | Reserved 16 | 1 17 | Numeric 18 | Delimiter 19 | ; 20 | false 21 | 0 22 | 26 23 | 24 | 25 | 26 | Key Scheme LMK 27 | KeyScheme.xml 28 | Delimiter 29 | ; 30 | false 31 | 32 | 33 | 34 | Key Check Value Type 35 | 1 36 | Numeric 37 | Delimiter 38 | ; 39 | false 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateIBMOffset_DE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates an IBM PIN Offset. 4 | DE 5 | DF 6 | 7 | 8 | PVK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN 14 | CLEAR_PIN_LENGTH 15 | Numeric 16 | 17 | 18 | 19 | Check Length 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | Decimalisation Table 32 | 16 33 | Hexadecimal 34 | 35 | 36 | 37 | PIN Validation Data 38 | 12 39 | Character 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateKey_A0.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates and encrypts key under ZMK for transmission. 4 | A0 5 | A1 6 | 7 | 8 | Mode 9 | 1 10 | Hexadecimal 11 | 12 | 13 | 14 | Key Type 15 | 3 16 | Hexadecimal 17 | 18 | 19 | 20 | Key Scheme LMK 21 | 1 22 | Character 23 | 24 | 25 | 26 | ZMK 27 | MultiFormatZMK.xml 28 | Mode 29 | 1 30 | false 31 | 32 | 33 | 34 | Key Scheme ZMK 35 | 1 36 | Character 37 | Mode 38 | 1 39 | false 40 | 41 | 42 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateMACForLargeMessage_MQ.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a MAC for a large message. 4 | MQ 5 | MR 6 | 7 | 8 | Message Block Number 9 | 1 10 | Numeric 11 | 12 | 13 | 14 | ZAK 15 | MultiFormatKey.xml 16 | 17 | 18 | 19 | IV 20 | 16 21 | Hexadecimal 22 | Message Block Number 23 | 2,3 24 | 25 | 26 | 27 | Message Length 28 | 3 29 | Hexadecimal 30 | 31 | 32 | 33 | Message Block 34 | 0 35 | Binary 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateMAC_MA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a MAC. 4 | MA 5 | MB 6 | 7 | 8 | TAC 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Data 14 | 0 15 | Binary 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateRandomPIN_JA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a random PIN of 4 to 12 digits. 4 | JA 5 | JB 6 | 7 | 8 | Account Number 9 | 12 10 | Numeric 11 | 12 | 13 | 14 | PIN Length 15 | 2 16 | Numeric 17 | 04 18 | 05 19 | 06 20 | 07 21 | 08 22 | 09 23 | 10 24 | 11 25 | 12 26 | 15 27 | 04 28 | 05 29 | 06 30 | 07 31 | 08 32 | 09 33 | 10 34 | 11 35 | 12 36 | 37 | 38 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateTAK_HA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a TAK. 4 | HA 5 | HB 6 | 7 | 8 | TMK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Delimiter 14 | 1 15 | Character 16 | ; 17 | 18 | 19 | 20 | Key Scheme TMK 21 | 1 22 | Character 23 | Delimiter 24 | ; 25 | false 26 | 27 | 28 | 29 | Key Scheme LMK 30 | 1 31 | Character 32 | Delimiter 33 | ; 34 | false 35 | 36 | 37 | 38 | Reserved 39 | 1 40 | Character 41 | Delimiter 42 | ; 43 | false 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateVISACVV_CW.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a VISA CVV. 4 | CW 5 | CX 6 | 7 | 8 | CVK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | Primary Account Number 14 | 1 15 | ; 16 | Numeric 17 | 18 | 19 | 20 | Delimiter 21 | 1 22 | Character 23 | ; 24 | 25 | 26 | 27 | Expiration Date 28 | 4 29 | Numeric 30 | 31 | 32 | 33 | Service Code 34 | 3 35 | Numeric 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/GenerateVISAPVV_DG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a 4-digit VISA PVV. 4 | DG 5 | DH 6 | 7 | 8 | PVK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | PIN 14 | CLEAR_PIN_LENGTH 15 | Numeric 16 | 17 | 18 | 19 | Account Number 20 | 12 21 | Numeric 22 | 23 | 24 | 25 | PVKI 26 | 1 27 | Numeric 28 | 29 | 30 | 31 | Delimiter 32 | 1 33 | Character 34 | ; 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/HSMStatus_NO.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Returns HSM status information. 4 | NO 5 | NO 6 | 7 | 8 | Mode Flag 9 | 2 10 | Hexadecimal 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/HashDataBlock_GM.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Hashes a block of data. 4 | GM 5 | GN 6 | 7 | 8 | Hash Identifier 9 | 2 10 | Numeric 11 | 01 12 | 02 13 | 03 14 | 05 15 | 06 16 | 07 17 | 08 18 | 05 19 | 20 | 21 | 22 | Data Length 23 | 5 24 | Numeric 25 | 26 | 27 | 28 | Message Data 29 | 0 30 | Binary 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/ImportKey_A6.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Imports a key encrypted under a ZMK. 4 | A6 5 | A7 6 | 7 | 8 | Key Type 9 | 3 10 | Hexadecimal 11 | 12 | 13 | 14 | ZMK 15 | MultiFormatZMK.xml 16 | 17 | 18 | 19 | Key 20 | MultiFormatKey.xml 21 | 22 | 23 | 24 | Key Scheme LMK 25 | 1 26 | Character 27 | 28 | 29 | 30 | Atalla Variant 31 | 0 32 | Numeric 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/KeyScheme.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | #replace# 7 | 1 8 | Character 9 | Z 10 | U 11 | T 12 | X 13 | Y 14 | 0 15 | 26 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/MultiFormatCVK.xml: -------------------------------------------------------------------------------- 1 |  2 | 4 | 5 | 6 | 7 | #replace# Scheme 8 | 1 9 | Character 10 | U 11 | T 12 | X 13 | Y 14 | 15 | 16 | 17 | #replace# 18 | Double-Length Variant 19 | 32 20 | Hexadecimal 21 | #replace# Scheme 22 | U 23 | 24 | 25 | 26 | #replace# 27 | Double-Length ANSI 28 | 32 29 | Hexadecimal 30 | #replace# Scheme 31 | X 32 | 33 | 34 | 35 | #replace# 36 | Double-length ANSI 37 | 32 38 | Hexadecimal 39 | #replace# Scheme 40 | 41 | 42 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/PINBlockFormat.xml: -------------------------------------------------------------------------------- 1 |  2 | 4 | 5 | 6 | 7 | #replace# 8 | 2 9 | Numeric 10 | 01 11 | 02 12 | 03 13 | 04 14 | 15 | 16 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/SetHSMDelay_LG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Sets an HSM response delay. 4 | LG 5 | LH 6 | 7 | 8 | Delay 9 | 3 10 | Numeric 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/SingleCommand.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | #replace# Length 7 | 4 8 | Numeric 9 | 10 | 11 | 12 | #replace# Data 13 | 1 14 | #replace# Length 15 | Character 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/TranslateKeyScheme_B0.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates an existing key to a new key scheme 4 | B0 5 | B1 6 | 7 | 8 | Key Type 9 | 3 10 | Numeric 11 | 12 | 13 | 14 | Key 15 | LargeMultiFormatKey.xml 16 | 17 | 18 | 19 | Key Scheme (LMK) 20 | KeyScheme.xml 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/TranslatePINFromDUKPTToZPK_CI.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN block from DUKPT to ZPK encryption. 4 | CI 5 | CJ 6 | 7 | 8 | BDK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | ZPK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | KSN Descriptor 19 | 3 20 | Hexadecimal 21 | 22 | 23 | 24 | Key Serial Number 25 | 20 26 | Hexadecimal 27 | 28 | 29 | 30 | Encrypted Block 31 | 16 32 | Hexadecimal 33 | 34 | 35 | 36 | Destination PIN Block Format Code 37 | 2 38 | Numeric 39 | 40 | 41 | 42 | Account Number 43 | 12 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/TranslatePINFromLMKToZPK_JG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from LMK to ZPK encryption. 4 | JG 5 | JH 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block Format Code 14 | 2 15 | Numeric 16 | 17 | 18 | 19 | Account Number 20 | 12 21 | Numeric 22 | 23 | 24 | 25 | PIN 26 | CLEAR_PIN_LENGTH 27 | Hexadecimal 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/TranslatePINFromTPKToLMK_JC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from TPK to LMK encryption. 4 | JC 5 | JD 6 | 7 | 8 | TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/TranslatePINFromTPKToZPK_CA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translate PIN From TPK to ZPK 4 | CA 5 | CB 6 | 7 | 8 | Source TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Destination ZPK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | PIN Length 19 | 2 20 | Numeric 21 | 12 22 | 15 23 | 24 | 25 | 26 | Source PIN Block 27 | 16 28 | Hexadecimal 29 | 30 | 31 | 32 | Source PIN Block Format 33 | PINBlockFormat.xml 34 | 35 | 36 | 37 | Target PIN Block Format 38 | PINBlockFormat.xml 39 | 40 | 41 | 42 | Account Number 43 | 12 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/TranslatePINFromVISAToThales_BQ.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from VISA to Thales encryption 4 | BQ 5 | BR 6 | 7 | 8 | Account Number 9 | 12 10 | Numeric 11 | 12 | 13 | 14 | PIN 15 | CLEAR_PIN_LENGTH 16 | Hexadecimal 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/TranslatePINFromZPKToLMK_JE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from ZPK to LMK encryption. 4 | JE 5 | JF 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/TranslatePINFromZPKToZPK_CC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN block from ZPK to ZPK encryption. 4 | CC 5 | CD 6 | 7 | 8 | Source ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Destination ZPK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | Max PIN Length 19 | 2 20 | Numeric 21 | 12 22 | 15 23 | 24 | 25 | 26 | Source PIN Block 27 | 16 28 | Hexadecimal 29 | 30 | 31 | 32 | Source PIN Block Format Code 33 | 2 34 | Numeric 35 | 36 | 37 | 38 | Destination PIN Block Format Code 39 | 2 40 | Numeric 41 | 42 | 43 | 44 | Account Number 45 | 12 46 | Numeric 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/VerifyAndTranslateMAC_ME.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies and translates a MAC. 4 | ME 5 | MF 6 | 7 | 8 | Source TAK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Destination TAK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | MAC 19 | 8 20 | Hexadecimal 21 | 22 | 23 | 24 | Data 25 | 0 26 | Binary 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/VerifyDukptPINWithVISAAlgorithm_CM.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a DUKPT PIN using the VISA algorithm. 4 | CM 5 | CN 6 | 7 | 8 | BDK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | PVK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | KSN Descriptor 19 | 3 20 | Hexadecimal 21 | 22 | 23 | 24 | Key Serial Number 25 | 20 26 | Hexadecimal 27 | 28 | 29 | 30 | Encrypted Block 31 | 16 32 | Hexadecimal 33 | 34 | 35 | 36 | Account Number 37 | 12 38 | Numeric 39 | 40 | 41 | 42 | PVKI 43 | 1 44 | Numeric 45 | 46 | 47 | 48 | PVV 49 | 4 50 | Numeric 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/VerifyInterchangePINWithVISAAlgorithm_EC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies an interchange PIN using the VISA algorithm. 4 | EC 5 | ED 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PVK 14 | MultiFormatCVK.xml 15 | 16 | 17 | 18 | PIN Block 19 | 16 20 | Hexadecimal 21 | 22 | 23 | 24 | PIN Block Format Code 25 | 2 26 | Numeric 27 | 28 | 29 | 30 | Account Number 31 | 12 32 | Numeric 33 | 34 | 35 | 36 | PVKI 37 | 1 38 | Numeric 39 | 40 | 41 | 42 | PVV 43 | 4 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/VerifyInterchangePinUsingComparisonMethod_BE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verify a PIN received from interchange by comparing it with a value held on the Host database 4 | BE 5 | BF 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | PIN 32 | CLEAR_PIN_LENGTH 33 | Hexadecimal 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/VerifyMAC_MC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a MAC. 4 | MC 5 | MD 6 | 7 | 8 | TAK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | MAC 14 | 8 15 | Hexadecimal 16 | 17 | 18 | 19 | Data 20 | 0 21 | Binary 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/VerifyTerminalPINWithVISAAlgorithm_DC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a terminal PIN using the VISA algorithm. 4 | DC 5 | DD 6 | 7 | 8 | TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PVK 14 | MultiFormatCVK.xml 15 | 16 | 17 | 18 | PIN Block 19 | 16 20 | Hexadecimal 21 | 22 | 23 | 24 | PIN Block Format Code 25 | 2 26 | Numeric 27 | 28 | 29 | 30 | Account Number 31 | 12 32 | Numeric 33 | 34 | 35 | 36 | PVKI 37 | 1 38 | Numeric 39 | 40 | 41 | 42 | PVV 43 | 4 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/VerifyTerminalPinUsingComparisonMethod_BC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verify a terminal PIN by comparing it with a value held on the Host database 4 | BC 5 | BD 6 | 7 | 8 | TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | PIN 32 | CLEAR_PIN_LENGTH 33 | Hexadecimal 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /ThalesCore/XMLDefs/HostCommands/VerifyVISACVV_CY.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a VISA CVV. 4 | CY 5 | CZ 6 | 7 | 8 | CVK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | CVV 14 | 3 15 | Numeric 16 | 17 | 18 | 19 | Account Number 20 | 1 21 | ; 22 | Numeric 23 | 24 | 25 | 26 | Delimiter 27 | 1 28 | Character 29 | 30 | 31 | 32 | Expiration Date 33 | 4 34 | Numeric 35 | 36 | 37 | 38 | Service Code 39 | 3 40 | Numeric 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /ThalesKeyManager/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | -------------------------------------------------------------------------------- /ThalesKeyManager/Classes/KeyType.vb: -------------------------------------------------------------------------------- 1 | '' 2 | '' This program is free software; you can redistribute it and/or modify 3 | '' it under the terms of the GNU General Public License as published by 4 | '' the Free Software Foundation; either version 2 of the License, or 5 | '' (at your option) any later version. 6 | '' 7 | '' This program is distributed in the hope that it will be useful, 8 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | '' GNU General Public License for more details. 11 | '' 12 | '' You should have received a copy of the GNU General Public License 13 | '' along with this program; if not, write to the Free Software 14 | '' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | '' 16 | 17 | ''' 18 | ''' Defines the possible key types. 19 | ''' 20 | ''' 21 | Public Enum KeyType 22 | ZMK = 0 23 | ZPK 24 | PVK 25 | TMK 26 | TPK 27 | CVK 28 | TAK 29 | ZAK 30 | BDK 31 | MK_AC 32 | MK_SMC 33 | MK_DAC 34 | MK_CVC3 35 | ZEK 36 | Undefined 37 | End Enum 38 | -------------------------------------------------------------------------------- /ThalesKeyManager/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | true 4 | frmMain 5 | false 6 | 0 7 | true 8 | 0 9 | true 10 | -------------------------------------------------------------------------------- /ThalesKeyManager/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ThalesKeyManager/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ThalesKeyManager/ThalesSim.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesKeyManager/ThalesSim.snk -------------------------------------------------------------------------------- /ThalesKeyManager/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ThalesKeyManager/keys.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesKeyManager/keys.ico -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/Cryptography/EMV/MasterKeyDerivationMethods.vb: -------------------------------------------------------------------------------- 1 | '' 2 | '' This program is free software; you can redistribute it and/or modify 3 | '' it under the terms of the GNU General Public License as published by 4 | '' the Free Software Foundation; either version 2 of the License, or 5 | '' (at your option) any later version. 6 | '' 7 | '' This program is distributed in the hope that it will be useful, 8 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | '' GNU General Public License for more details. 11 | '' 12 | '' You should have received a copy of the GNU General Public License 13 | '' along with this program; if not, write to the Free Software 14 | '' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | '' 16 | 17 | Namespace Cryptography.EMV 18 | 19 | ''' 20 | ''' Defines the master key derivation methods. 21 | ''' 22 | ''' 23 | Public Enum MasterKeyDerivationMethods 24 | EMV_4_2_OptionA = 0 25 | EMV_4_2_OptionB 26 | End Enum 27 | 28 | End Namespace -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/Cryptography/EMV/SessionKeyDerivationMethods.vb: -------------------------------------------------------------------------------- 1 | '' 2 | '' This program is free software; you can redistribute it and/or modify 3 | '' it under the terms of the GNU General Public License as published by 4 | '' the Free Software Foundation; either version 2 of the License, or 5 | '' (at your option) any later version. 6 | '' 7 | '' This program is distributed in the hope that it will be useful, 8 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | '' GNU General Public License for more details. 11 | '' 12 | '' You should have received a copy of the GNU General Public License 13 | '' along with this program; if not, write to the Free Software 14 | '' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | '' 16 | 17 | Namespace Cryptography.EMV 18 | 19 | ''' 20 | ''' Defines the session key derivation methods. 21 | ''' 22 | ''' 23 | Public Enum SessionKeyDerivationMethods 24 | NoSessionKey = 0 25 | MasterCard_Method 26 | End Enum 27 | 28 | End Namespace -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/Cryptography/MAC/ISO9797Algorithms.vb: -------------------------------------------------------------------------------- 1 | '' 2 | '' This program is free software; you can redistribute it and/or modify 3 | '' it under the terms of the GNU General Public License as published by 4 | '' the Free Software Foundation; either version 2 of the License, or 5 | '' (at your option) any later version. 6 | '' 7 | '' This program is distributed in the hope that it will be useful, 8 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | '' GNU General Public License for more details. 11 | '' 12 | '' You should have received a copy of the GNU General Public License 13 | '' along with this program; if not, write to the Free Software 14 | '' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | '' 16 | 17 | Namespace Cryptography.MAC 18 | 19 | ''' 20 | ''' Describes the MAC algorithms as defined in ISO 9797. 21 | ''' 22 | ''' 23 | Public Enum ISO9797Algorithms 24 | MACAlgorithm1 = 0 25 | MACAlgorithm3 26 | End Enum 27 | 28 | End Namespace -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/Cryptography/MAC/ISO9797PaddingMethods.vb: -------------------------------------------------------------------------------- 1 | '' 2 | '' This program is free software; you can redistribute it and/or modify 3 | '' it under the terms of the GNU General Public License as published by 4 | '' the Free Software Foundation; either version 2 of the License, or 5 | '' (at your option) any later version. 6 | '' 7 | '' This program is distributed in the hope that it will be useful, 8 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | '' GNU General Public License for more details. 11 | '' 12 | '' You should have received a copy of the GNU General Public License 13 | '' along with this program; if not, write to the Free Software 14 | '' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | '' 16 | 17 | Namespace Cryptography.MAC 18 | 19 | ''' 20 | ''' Describes the padding methods defined in ISO 9797. 21 | ''' 22 | ''' 23 | Public Enum ISO9797PaddingMethods 24 | NoPadding = 0 25 | PaddingMethod1 26 | PaddingMethod2 27 | End Enum 28 | 29 | End Namespace -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/TCP/TCPEventArgs.vb: -------------------------------------------------------------------------------- 1 | Public Class TCPEventArgs 2 | 3 | Public RemoteClient As String 4 | 5 | Public Data() As Byte 6 | 7 | End Class 8 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/CommandChaining_NK.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Allows multiple commands to be sent as a bundle. 4 | NK 5 | NL 6 | 7 | 8 | Header Flag 9 | 1 10 | Numeric 11 | 0 12 | 1 13 | 51 14 | 15 | 16 | 17 | Number Of Commands 18 | 2 19 | Character 20 | 21 | 22 | 23 | SubCommand 24 | SingleCommand.xml 25 | Number Of Commands 26 | true 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/DecryptEncryptedPIN_NG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Decrypt an encrypted PIN. 4 | NG 5 | NH 6 | 7 | 8 | Account Number 9 | 12 10 | Numeric 11 | 12 | 13 | 14 | PIN 15 | CLEAR_PIN_LENGTH 16 | Numeric 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/DerivePINUsingTheIBMMethod_EE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Derive a PIN using the IBM method. 4 | EE 5 | EF 6 | 7 | 8 | PVK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Offset 14 | 12 15 | Hexadecimal 16 | 17 | 18 | 19 | Check Length 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | Decimalisation Table 32 | 16 33 | Hexadecimal 34 | 35 | 36 | 37 | PIN Validation Data 38 | 12 39 | Character 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/EchoTest_B2.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Echo received data back to the user 4 | B2 5 | B3 6 | 7 | 8 | Length 9 | 4 10 | Hexadecimal 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/EncryptClearPIN_BA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Encrypts a clear PIN. 4 | BA 5 | BB 6 | 7 | 8 | PIN 9 | CLEAR_PIN_LENGTH 10 | Hexadecimal 11 | 12 | 13 | 14 | Account Number 15 | 12 16 | Numeric 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/ExportKey_A8.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Encrypts a key under ZMK for transmission 4 | A8 5 | A9 6 | 7 | 8 | Key Type 9 | 3 10 | Hexadecimal 11 | 12 | 13 | 14 | ZMK 15 | MultiFormatZMK.xml 16 | 17 | 18 | 19 | Key 20 | MultiFormatKey.xml 21 | 22 | 23 | 24 | Key Scheme ZMK 25 | KeyScheme.xml 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/FormKeyFromEncryptedComponents_A4.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Forms a key from encrypted components 4 | A4 5 | A5 6 | 7 | 8 | Number of Components 9 | 1 10 | Numeric 11 | 2 12 | 3 13 | 4 14 | 5 15 | 6 16 | 7 17 | 8 18 | 9 19 | 03 20 | 21 | 22 | 23 | Key Type 24 | 3 25 | Hexadecimal 26 | 27 | 28 | 29 | Key Scheme (LMK) 30 | KeyScheme.xml 31 | 32 | 33 | 34 | Key Component 35 | MultiFormatKey.xml 36 | Number of Components 37 | true 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/GenerateAndPrintComponent_A2.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generate and print a component. 4 | A2 5 | A3 6 | 7 | 8 | Key Type 9 | 3 10 | Character 11 | 12 | 13 | 14 | Key Scheme LMK 15 | KeyScheme.xml 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/GenerateAndPrintSplitComponents_NE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generate and print a key as split components. 4 | NE 5 | NF 6 | 7 | 8 | Key Type 9 | 3 10 | Character 11 | 12 | 13 | 14 | Key Scheme LMK 15 | KeyScheme.xml 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/GenerateBDK_BI.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a random BDK. 4 | BI 5 | BJ 6 | 7 | 8 | Delimiter 9 | 1 10 | Character 11 | ; 12 | 13 | 14 | 15 | Reserved 16 | 1 17 | Character 18 | Delimiter 19 | ; 20 | false 21 | 22 | 23 | 24 | Key Scheme LMK 25 | 1 26 | Character 27 | Delimiter 28 | ; 29 | false 30 | 31 | 32 | 33 | Reserved 2 34 | 1 35 | Character 36 | Delimiter 37 | ; 38 | false 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/GenerateIBMOffset_DE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates an IBM PIN Offset. 4 | DE 5 | DF 6 | 7 | 8 | PVK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN 14 | CLEAR_PIN_LENGTH 15 | Numeric 16 | 17 | 18 | 19 | Check Length 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | Decimalisation Table 32 | 16 33 | Hexadecimal 34 | 35 | 36 | 37 | PIN Validation Data 38 | 12 39 | Character 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/GenerateKey_A0.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates and encrypts key under ZMK for transmission. 4 | A0 5 | A1 6 | 7 | 8 | Mode 9 | 1 10 | Hexadecimal 11 | 12 | 13 | 14 | Key Type 15 | 3 16 | Hexadecimal 17 | 18 | 19 | 20 | Key Scheme LMK 21 | 1 22 | Hexadecimal 23 | 24 | 25 | 26 | ZMK 27 | MultiFormatZMK.xml 28 | Mode 29 | 1 30 | false 31 | 32 | 33 | 34 | Key Scheme ZMK 35 | 1 36 | Hexadecimal 37 | Mode 38 | 1 39 | false 40 | 41 | 42 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/GenerateMACForLargeMessage_MQ.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a MAC for a large message. 4 | MQ 5 | MR 6 | 7 | 8 | Message Block Number 9 | 1 10 | Numeric 11 | 12 | 13 | 14 | ZAK 15 | MultiFormatKey.xml 16 | 17 | 18 | 19 | IV 20 | 16 21 | Hexadecimal 22 | Message Block Number 23 | 2,3 24 | 25 | 26 | 27 | Message Length 28 | 3 29 | Hexadecimal 30 | 31 | 32 | 33 | Message Block 34 | 0 35 | Binary 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/GenerateMAC_MA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a MAC. 4 | MA 5 | MB 6 | 7 | 8 | TAC 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Data 14 | 0 15 | Binary 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/GenerateRandomPIN_JA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a random PIN of 4 to 12 digits. 4 | JA 5 | JB 6 | 7 | 8 | Account Number 9 | 12 10 | Numeric 11 | 12 | 13 | 14 | PIN Length 15 | 2 16 | Numeric 17 | 04 18 | 05 19 | 06 20 | 07 21 | 08 22 | 09 23 | 10 24 | 11 25 | 12 26 | 15 27 | 04 28 | 05 29 | 06 30 | 07 31 | 08 32 | 09 33 | 10 34 | 11 35 | 12 36 | 37 | 38 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/GenerateVISACVV_CW.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a VISA CVV. 4 | CW 5 | CX 6 | 7 | 8 | CVK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | Primary Account Number 14 | 1 15 | ; 16 | Numeric 17 | 18 | 19 | 20 | Delimiter 21 | 1 22 | Character 23 | ; 24 | 25 | 26 | 27 | Expiration Date 28 | 4 29 | Numeric 30 | 31 | 32 | 33 | Service Code 34 | 3 35 | Numeric 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/GenerateVISAPVV_DG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Generates a 4-digit VISA PVV. 4 | DG 5 | DH 6 | 7 | 8 | PVK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | PIN 14 | CLEAR_PIN_LENGTH 15 | Numeric 16 | 17 | 18 | 19 | Account Number 20 | 12 21 | Numeric 22 | 23 | 24 | 25 | PVKI 26 | 1 27 | Numeric 28 | 29 | 30 | 31 | Delimiter 32 | 1 33 | Character 34 | ; 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/HSMStatus_NO.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Returns HSM status information. 4 | NO 5 | NO 6 | 7 | 8 | Mode Flag 9 | 2 10 | Hexadecimal 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/HashDataBlock_GM.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Hashes a block of data. 4 | GM 5 | GN 6 | 7 | 8 | Hash Identifier 9 | 2 10 | Numeric 11 | 01 12 | 02 13 | 03 14 | 05 15 | 06 16 | 07 17 | 08 18 | 05 19 | 20 | 21 | 22 | Data Length 23 | 5 24 | Numeric 25 | 26 | 27 | 28 | Message Data 29 | 0 30 | Binary 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/ImportKey_A6.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Imports a key encrypted under a ZMK. 4 | A6 5 | A7 6 | 7 | 8 | Key Type 9 | 3 10 | Hexadecimal 11 | 12 | 13 | 14 | ZMK 15 | MultiFormatZMK.xml 16 | 17 | 18 | 19 | Key 20 | MultiFormatKey.xml 21 | 22 | 23 | 24 | Key Scheme LMK 25 | 1 26 | Character 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/KeyScheme.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | #replace# 7 | 1 8 | Character 9 | Z 10 | U 11 | T 12 | X 13 | Y 14 | 0 15 | 26 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/MultiFormatCVK.xml: -------------------------------------------------------------------------------- 1 |  2 | 4 | 5 | 6 | 7 | #replace# Scheme 8 | 1 9 | Character 10 | U 11 | T 12 | X 13 | Y 14 | 15 | 16 | 17 | #replace# 18 | Double-Length Variant 19 | 32 20 | Hexadecimal 21 | #replace# Scheme 22 | U 23 | 24 | 25 | 26 | #replace# 27 | Double-Length ANSI 28 | 32 29 | Hexadecimal 30 | #replace# Scheme 31 | X 32 | 33 | 34 | 35 | #replace# 36 | Double-length ANSI 37 | 32 38 | Hexadecimal 39 | #replace# Scheme 40 | 41 | 42 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/PINBlockFormat.xml: -------------------------------------------------------------------------------- 1 |  2 | 4 | 5 | 6 | 7 | #replace# 8 | 2 9 | Numeric 10 | 01 11 | 02 12 | 03 13 | 04 14 | 15 | 16 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/SetHSMDelay_LG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Sets an HSM response delay. 4 | LG 5 | LH 6 | 7 | 8 | Delay 9 | 3 10 | Numeric 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/SingleCommand.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | #replace# Length 7 | 4 8 | Numeric 9 | 10 | 11 | 12 | #replace# Data 13 | 1 14 | #replace# Length 15 | Character 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/TranslateKeyScheme_B0.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates an existing key to a new key scheme 4 | B0 5 | B1 6 | 7 | 8 | Key Type 9 | 3 10 | Numeric 11 | 12 | 13 | 14 | Key 15 | LargeMultiFormatKey.xml 16 | 17 | 18 | 19 | Key Scheme (LMK) 20 | KeyScheme.xml 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/TranslatePINFromDUKPTToZPK_CI.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN block from DUKPT to ZPK encryption. 4 | CI 5 | CJ 6 | 7 | 8 | BDK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | ZPK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | KSN Descriptor 19 | 3 20 | Hexadecimal 21 | 22 | 23 | 24 | Key Serial Number 25 | 20 26 | Hexadecimal 27 | 28 | 29 | 30 | Encrypted Block 31 | 16 32 | Hexadecimal 33 | 34 | 35 | 36 | Destination PIN Block Format Code 37 | 2 38 | Numeric 39 | 40 | 41 | 42 | Account Number 43 | 12 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/TranslatePINFromLMKToZPK_JG.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from LMK to ZPK encryption. 4 | JG 5 | JH 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block Format Code 14 | 2 15 | Numeric 16 | 17 | 18 | 19 | Account Number 20 | 12 21 | Numeric 22 | 23 | 24 | 25 | PIN 26 | CLEAR_PIN_LENGTH 27 | Hexadecimal 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/TranslatePINFromTPKToLMK_JC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from TPK to LMK encryption. 4 | JC 5 | JD 6 | 7 | 8 | TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/TranslatePINFromTPKToZPK_CA.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translate PIN From TPK to ZPK 4 | CA 5 | CB 6 | 7 | 8 | Source TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Destination ZPK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | PIN Length 19 | 2 20 | Numeric 21 | 12 22 | 15 23 | 24 | 25 | 26 | Source PIN Block 27 | 16 28 | Hexadecimal 29 | 30 | 31 | 32 | Source PIN Block Format 33 | PINBlockFormat.xml 34 | 35 | 36 | 37 | Target PIN Block Format 38 | PINBlockFormat.xml 39 | 40 | 41 | 42 | Account Number 43 | 12 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/TranslatePINFromVISAToThales_BQ.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from VISA to Thales encryption 4 | BQ 5 | BR 6 | 7 | 8 | Account Number 9 | 12 10 | Numeric 11 | 12 | 13 | 14 | PIN 15 | CLEAR_PIN_LENGTH 16 | Hexadecimal 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/TranslatePINFromZPKToLMK_JE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN from ZPK to LMK encryption. 4 | JE 5 | JF 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/TranslatePINFromZPKToZPK_CC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Translates a PIN block from ZPK to ZPK encryption. 4 | CC 5 | CD 6 | 7 | 8 | Source ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Destination ZPK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | Max PIN Length 19 | 2 20 | Numeric 21 | 12 22 | 15 23 | 24 | 25 | 26 | Source PIN Block 27 | 16 28 | Hexadecimal 29 | 30 | 31 | 32 | Source PIN Block Format Code 33 | 2 34 | Numeric 35 | 36 | 37 | 38 | Destination PIN Block Format Code 39 | 2 40 | Numeric 41 | 42 | 43 | 44 | Account Number 45 | 12 46 | Numeric 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/VerifyAndTranslateMAC_ME.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies and translates a MAC. 4 | ME 5 | MF 6 | 7 | 8 | Source TAK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | Destination TAK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | MAC 19 | 8 20 | Hexadecimal 21 | 22 | 23 | 24 | Data 25 | 0 26 | Binary 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/VerifyDukptPINWithVISAAlgorithm_CM.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a DUKPT PIN using the VISA algorithm. 4 | CM 5 | CN 6 | 7 | 8 | BDK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | PVK 14 | MultiFormatKey.xml 15 | 16 | 17 | 18 | KSN Descriptor 19 | 3 20 | Hexadecimal 21 | 22 | 23 | 24 | Key Serial Number 25 | 20 26 | Hexadecimal 27 | 28 | 29 | 30 | Encrypted Block 31 | 16 32 | Hexadecimal 33 | 34 | 35 | 36 | Account Number 37 | 12 38 | Numeric 39 | 40 | 41 | 42 | PVKI 43 | 1 44 | Numeric 45 | 46 | 47 | 48 | PVV 49 | 4 50 | Numeric 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/VerifyInterchangePINWithVISAAlgorithm_EC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies an interchange PIN using the VISA algorithm. 4 | EC 5 | ED 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PVK 14 | MultiFormatCVK.xml 15 | 16 | 17 | 18 | PIN Block 19 | 16 20 | Hexadecimal 21 | 22 | 23 | 24 | PIN Block Format Code 25 | 2 26 | Numeric 27 | 28 | 29 | 30 | Account Number 31 | 12 32 | Numeric 33 | 34 | 35 | 36 | PVKI 37 | 1 38 | Numeric 39 | 40 | 41 | 42 | PVV 43 | 4 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/VerifyInterchangePinUsingComparisonMethod_BE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verify a PIN received from interchange by comparing it with a value held on the Host database 4 | BE 5 | BF 6 | 7 | 8 | ZPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | PIN 32 | CLEAR_PIN_LENGTH 33 | Hexadecimal 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/VerifyMAC_MC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a MAC. 4 | MC 5 | MD 6 | 7 | 8 | TAK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | MAC 14 | 8 15 | Hexadecimal 16 | 17 | 18 | 19 | Data 20 | 0 21 | Binary 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/VerifyTerminalPINWithVISAAlgorithm_DC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a terminal PIN using the VISA algorithm. 4 | DC 5 | DD 6 | 7 | 8 | TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PVK 14 | MultiFormatCVK.xml 15 | 16 | 17 | 18 | PIN Block 19 | 16 20 | Hexadecimal 21 | 22 | 23 | 24 | PIN Block Format Code 25 | 2 26 | Numeric 27 | 28 | 29 | 30 | Account Number 31 | 12 32 | Numeric 33 | 34 | 35 | 36 | PVKI 37 | 1 38 | Numeric 39 | 40 | 41 | 42 | PVV 43 | 4 44 | Numeric 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/VerifyTerminalPinUsingComparisonMethod_BC.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verify a terminal PIN by comparing it with a value held on the Host database 4 | BC 5 | BD 6 | 7 | 8 | TPK 9 | MultiFormatKey.xml 10 | 11 | 12 | 13 | PIN Block 14 | 16 15 | Hexadecimal 16 | 17 | 18 | 19 | PIN Block Format Code 20 | 2 21 | Numeric 22 | 23 | 24 | 25 | Account Number 26 | 12 27 | Numeric 28 | 29 | 30 | 31 | PIN 32 | CLEAR_PIN_LENGTH 33 | Hexadecimal 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesCoreSource/XMLDefs/HostCommands/VerifyVISACVV_CY.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | Verifies a VISA CVV. 4 | CY 5 | CZ 6 | 7 | 8 | CVK 9 | MultiFormatCVK.xml 10 | 11 | 12 | 13 | CVV 14 | 3 15 | Numeric 16 | 17 | 18 | 19 | Account Number 20 | 1 21 | ; 22 | Numeric 23 | 24 | 25 | 26 | Delimiter 27 | 1 28 | Character 29 | 30 | 31 | 32 | Expiration Date 33 | 4 34 | Numeric 35 | 36 | 37 | 38 | Service Code 39 | 3 40 | Numeric 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /ThalesMobileSimulator/ThalesSim.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesMobileSimulator/ThalesSim.snk -------------------------------------------------------------------------------- /ThalesMobileSimulator/keys.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesMobileSimulator/keys.ico -------------------------------------------------------------------------------- /ThalesPVVClashingDemo/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | -------------------------------------------------------------------------------- /ThalesPVVClashingDemo/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | true 4 | frmMain 5 | true 6 | 0 7 | true 8 | 0 9 | true 10 | -------------------------------------------------------------------------------- /ThalesPVVClashingDemo/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ThalesPVVClashingDemo/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | D3DCC7EA9BCB755D254620B376B3D007 7 | 8 | 9 | 9998 10 | 11 | 12 | 127.0.0.1 13 | 14 | 15 | U8463435FC4B4DAA0C49025272C29B12C 16 | 17 | 18 | UA8B1520E201412938388191885FFA50A 19 | 20 | 21 | 1234 22 | 23 | 24 | 5044070000253237 25 | 26 | 27 | -------------------------------------------------------------------------------- /ThalesPVVClashingDemo/ThalesSim.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesPVVClashingDemo/ThalesSim.snk -------------------------------------------------------------------------------- /ThalesPVVClashingDemo/keys.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesPVVClashingDemo/keys.ico -------------------------------------------------------------------------------- /ThalesServiceSimulator/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | -------------------------------------------------------------------------------- /ThalesServiceSimulator/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.269 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | -------------------------------------------------------------------------------- /ThalesServiceSimulator/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | false 4 | false 5 | 0 6 | true 7 | 0 8 | 3 9 | true 10 | 11 | -------------------------------------------------------------------------------- /ThalesServiceSimulator/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ThalesServiceSimulator/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ThalesServiceSimulator/ProjectInstaller.vb: -------------------------------------------------------------------------------- 1 | Imports System.ComponentModel 2 | Imports System.Configuration.Install 3 | 4 | Public Class ProjectInstaller 5 | 6 | Public Sub New() 7 | MyBase.New() 8 | 9 | 'This call is required by the Component Designer. 10 | InitializeComponent() 11 | 12 | 'Add initialization code after the call to InitializeComponent 13 | 14 | End Sub 15 | 16 | End Class 17 | -------------------------------------------------------------------------------- /ThalesServiceSimulator/ThalesSim.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesServiceSimulator/ThalesSim.snk -------------------------------------------------------------------------------- /ThalesSim.Core/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | -------------------------------------------------------------------------------- /ThalesSim.Core/..svnbridge/ThalesSim.snk: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /ThalesSim.Core/Commands/CommandType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | This program is free software; you can redistribute it and/or modify 3 | it under the terms of the GNU General Public License as published by 4 | the Free Software Foundation; either version 2 of the License, or 5 | (at your option) any later version. 6 | 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License for more details. 11 | 12 | You should have received a copy of the GNU General Public License 13 | along with this program; if not, write to the Free Software 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | */ 16 | 17 | namespace ThalesSim.Core.Commands 18 | { 19 | /// 20 | /// Command types. 21 | /// 22 | public enum CommandType 23 | { 24 | /// 25 | /// Host command. 26 | /// 27 | Host = 0, 28 | 29 | /// 30 | /// Console command. 31 | /// 32 | Console = 1 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /ThalesSim.Core/Commands/Host/AuthorizedStateAttribute.cs: -------------------------------------------------------------------------------- 1 | /* 2 | This program is free software; you can redistribute it and/or modify 3 | it under the terms of the GNU General Public License as published by 4 | the Free Software Foundation; either version 2 of the License, or 5 | (at your option) any later version. 6 | 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License for more details. 11 | 12 | You should have received a copy of the GNU General Public License 13 | along with this program; if not, write to the Free Software 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | */ 16 | 17 | using System; 18 | 19 | namespace ThalesSim.Core.Commands.Host 20 | { 21 | /// 22 | /// The authorized attribute is used to decorate host commands 23 | /// that need the simulator to be in the authorized state. 24 | /// 25 | [AttributeUsage(AttributeTargets.Class)] 26 | public class AuthorizedStateAttribute : Attribute 27 | { 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /ThalesSim.Core/Cryptography/AuthStateRequirement.cs: -------------------------------------------------------------------------------- 1 | /* 2 | This program is free software; you can redistribute it and/or modify 3 | it under the terms of the GNU General Public License as published by 4 | the Free Software Foundation; either version 2 of the License, or 5 | (at your option) any later version. 6 | 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License for more details. 11 | 12 | You should have received a copy of the GNU General Public License 13 | along with this program; if not, write to the Free Software 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | */ 16 | 17 | namespace ThalesSim.Core.Cryptography 18 | { 19 | /// 20 | /// Describes an authorized state requirement for import/export functions. 21 | /// 22 | public class AuthStateRequirement 23 | { 24 | public KeyFunction Function { get; set; } 25 | 26 | public LMK.LmkPair Pair { get; set; } 27 | 28 | public int Variant { get; set; } 29 | 30 | public StateRequirementType Requirement { get; set; } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /ThalesSim.Core/Cryptography/KeyFunction.cs: -------------------------------------------------------------------------------- 1 | /* 2 | This program is free software; you can redistribute it and/or modify 3 | it under the terms of the GNU General Public License as published by 4 | the Free Software Foundation; either version 2 of the License, or 5 | (at your option) any later version. 6 | 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License for more details. 11 | 12 | You should have received a copy of the GNU General Public License 13 | along with this program; if not, write to the Free Software 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | */ 16 | 17 | namespace ThalesSim.Core.Cryptography 18 | { 19 | /// 20 | /// Enumeration of key functions. 21 | /// 22 | public enum KeyFunction 23 | { 24 | /// 25 | /// Key generation. 26 | /// 27 | Generate = 0, 28 | 29 | /// 30 | /// Key import. 31 | /// 32 | Import = 1, 33 | 34 | /// 35 | /// Key export. 36 | /// 37 | Export = 2 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ThalesSim.Core/Cryptography/KeyLength.cs: -------------------------------------------------------------------------------- 1 | /* 2 | This program is free software; you can redistribute it and/or modify 3 | it under the terms of the GNU General Public License as published by 4 | the Free Software Foundation; either version 2 of the License, or 5 | (at your option) any later version. 6 | 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License for more details. 11 | 12 | You should have received a copy of the GNU General Public License 13 | along with this program; if not, write to the Free Software 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | */ 16 | 17 | namespace ThalesSim.Core.Cryptography 18 | { 19 | /// 20 | /// Enumeration of the key length. 21 | /// 22 | public enum KeyLength 23 | { 24 | /// 25 | /// Single length key. 26 | /// 27 | SingleLength = 0, 28 | 29 | /// 30 | /// Double length key. 31 | /// 32 | DoubleLength = 1, 33 | 34 | /// 35 | /// Triple length key. 36 | /// 37 | TripleLength = 2 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ThalesSim.Core/Cryptography/MAC/Iso9797PaddingMethodType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | This program is free software; you can redistribute it and/or modify 3 | it under the terms of the GNU General Public License as published by 4 | the Free Software Foundation; either version 2 of the License, or 5 | (at your option) any later version. 6 | 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License for more details. 11 | 12 | You should have received a copy of the GNU General Public License 13 | along with this program; if not, write to the Free Software 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | */ 16 | 17 | namespace ThalesSim.Core.Cryptography.MAC 18 | { 19 | /// 20 | /// Describes the padding methods defined in ISO 9797. 21 | /// 22 | public enum Iso9797PaddingMethodType 23 | { 24 | /// 25 | /// No padding. 26 | /// 27 | NoPadding = 0, 28 | 29 | /// 30 | /// Padding method 1. 31 | /// 32 | PaddingMethod1 = 1, 33 | 34 | /// 35 | /// Padding method 2. 36 | /// 37 | PaddingMethod2 = 2 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ThalesSim.Core/Cryptography/Parity.cs: -------------------------------------------------------------------------------- 1 | /* 2 | This program is free software; you can redistribute it and/or modify 3 | it under the terms of the GNU General Public License as published by 4 | the Free Software Foundation; either version 2 of the License, or 5 | (at your option) any later version. 6 | 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License for more details. 11 | 12 | You should have received a copy of the GNU General Public License 13 | along with this program; if not, write to the Free Software 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | */ 16 | 17 | namespace ThalesSim.Core.Cryptography 18 | { 19 | /// 20 | /// Enumeration for bit parity. 21 | /// 22 | public enum Parity 23 | { 24 | /// 25 | /// Odd parity. 26 | /// 27 | Odd = 0, 28 | 29 | /// 30 | /// Even parity. 31 | /// 32 | Even = 1, 33 | 34 | /// 35 | /// No parity. 36 | /// 37 | None = 2 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ThalesSim.Core/Cryptography/StateRequirementType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | This program is free software; you can redistribute it and/or modify 3 | it under the terms of the GNU General Public License as published by 4 | the Free Software Foundation; either version 2 of the License, or 5 | (at your option) any later version. 6 | 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License for more details. 11 | 12 | You should have received a copy of the GNU General Public License 13 | along with this program; if not, write to the Free Software 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | */ 16 | 17 | namespace ThalesSim.Core.Cryptography 18 | { 19 | /// 20 | /// Enumeration of auth state requirements. 21 | /// 22 | public enum StateRequirementType 23 | { 24 | /// 25 | /// Function not allowed. 26 | /// 27 | NotAllowed = 0, 28 | 29 | /// 30 | /// Function needs authorized state. 31 | /// 32 | NeedsAuthorizedState = 1, 33 | 34 | /// 35 | /// Function does not need authorized state. 36 | /// 37 | DoesNotNeedAuthorizedState = 2 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ThalesSim.Core/Resources/Static.cs: -------------------------------------------------------------------------------- 1 | /* 2 | This program is free software; you can redistribute it and/or modify 3 | it under the terms of the GNU General Public License as published by 4 | the Free Software Foundation; either version 2 of the License, or 5 | (at your option) any later version. 6 | 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License for more details. 11 | 12 | You should have received a copy of the GNU General Public License 13 | along with this program; if not, write to the Free Software 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | */ 16 | 17 | namespace ThalesSim.Core.Resources 18 | { 19 | /// 20 | /// This class contains static data. 21 | /// 22 | public class Static 23 | { 24 | /// 25 | /// Double length Zone Master Keys setting. 26 | /// 27 | public const string DOUBLE_LENGTH_ZMKS = "DOUBLE_LENGTH_ZMKS"; 28 | 29 | /// 30 | /// Clear PIN length setting. 31 | /// 32 | public const string CLEAR_PIN_LENGTH = "CLEAR_PIN_LENGTH"; 33 | } 34 | } -------------------------------------------------------------------------------- /ThalesSim.Core/ThalesSim.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesSim.Core/ThalesSim.snk -------------------------------------------------------------------------------- /ThalesSim.Tests.Unit/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | -------------------------------------------------------------------------------- /ThalesSim.Tests.Unit/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 |
5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ThalesSim.Tests.Unit/Commands/GenericCommandTests.cs: -------------------------------------------------------------------------------- 1 | /* 2 | This program is free software; you can redistribute it and/or modify 3 | it under the terms of the GNU General Public License as published by 4 | the Free Software Foundation; either version 2 of the License, or 5 | (at your option) any later version. 6 | 7 | This program is distributed in the hope that it will be useful, 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | GNU General Public License for more details. 11 | 12 | You should have received a copy of the GNU General Public License 13 | along with this program; if not, write to the Free Software 14 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | */ 16 | 17 | using NUnit.Framework; 18 | using ThalesSim.Core.Commands; 19 | 20 | namespace ThalesSim.Tests.Unit.Commands 21 | { 22 | [TestFixture] 23 | public class GenericCommandTests 24 | { 25 | [Test] 26 | public void TestCommandExplorer() 27 | { 28 | CommandExplorer.Discover(); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /ThalesSim.Tests.Unit/data/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | bugtraq:numbertruesvn:ignorebin 2 | obj 3 | -------------------------------------------------------------------------------- /ThalesSim.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesSim.snk -------------------------------------------------------------------------------- /ThalesSim.vsmdi: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ThalesWinSimulator/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | -------------------------------------------------------------------------------- /ThalesWinSimulator/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | true 4 | frmMain 5 | false 6 | 1 7 | true 8 | 0 9 | true 10 | -------------------------------------------------------------------------------- /ThalesWinSimulator/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ThalesWinSimulator/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ThalesWinSimulator/ThalesSim.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesWinSimulator/ThalesSim.snk -------------------------------------------------------------------------------- /ThalesWinSimulator/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ThalesWinSimulator/bin/Debug/ThalesMonoParameters.txt: -------------------------------------------------------------------------------- 1 | ; 2 | ; Config file for Mono. 3 | ; 4 | Port=9998 5 | ConsolePort=9997 6 | MaxConnections=5 7 | LMKStorageFile= 8 | VBSourceDirectory= 9 | XMLHostDefinitionsDirectory= 10 | LogLevel=5 11 | CheckLMKParity=True 12 | ClearPINLength=4 13 | FirmwareNumber=0007-E000 14 | DSPFirmwareNumber=0001 15 | StartInAuthorizedState=True 16 | DoubleLengthZMKs=True 17 | LegacyMode=False 18 | ExpectTrailers=False 19 | HeaderLength=4 20 | EBCDIC=False -------------------------------------------------------------------------------- /ThalesWinSimulator/frmAbout.vb: -------------------------------------------------------------------------------- 1 | '' 2 | '' This program is free software; you can redistribute it and/or modify 3 | '' it under the terms of the GNU General Public License as published by 4 | '' the Free Software Foundation; either version 2 of the License, or 5 | '' (at your option) any later version. 6 | '' 7 | '' This program is distributed in the hope that it will be useful, 8 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | '' GNU General Public License for more details. 11 | '' 12 | '' You should have received a copy of the GNU General Public License 13 | '' along with this program; if not, write to the Free Software 14 | '' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 | '' 16 | 17 | Public Class frmAbout 18 | 19 | Private Sub frmAbout_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 20 | lnk.Links.Add(0, lnk.Text.Length, "http://thalessim.codeplex.com/") 21 | End Sub 22 | 23 | Private Sub lnk_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles lnk.LinkClicked 24 | System.Diagnostics.Process.Start(e.Link.LinkData.ToString) 25 | End Sub 26 | End Class -------------------------------------------------------------------------------- /ThalesWinSimulator/keys.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/ThalesWinSimulator/keys.ico -------------------------------------------------------------------------------- /libs/..svnbridge/.svnbridge: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertrue -------------------------------------------------------------------------------- /libs/..svnbridge/NSubstitute.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/Rhino.Mocks.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/ServiceStack.Text.dll: -------------------------------------------------------------------------------- 1 | bugtraq:numbertruesvn:ignoreTestResults 2 | _ReSharper.ThalesSim 3 | _UpgradeReport_Files 4 | svn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/log4net.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/nunit-console-runner.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/nunit-gui-runner.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/nunit.core.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/nunit.core.interfaces.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/nunit.framework.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/nunit.mocks.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/nunit.uiexception.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/nunit.uikit.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/..svnbridge/nunit.util.dll: -------------------------------------------------------------------------------- 1 | svn:ignore[Bb]in 2 | obj 3 | [Dd]ebug 4 | [Rr]elease 5 | *.user 6 | *.aps 7 | *.eto 8 | bugtraq:numbertruesvn:mime-typeapplication/octet-stream -------------------------------------------------------------------------------- /libs/NSubstitute.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/NSubstitute.dll -------------------------------------------------------------------------------- /libs/Rhino.Mocks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/Rhino.Mocks.dll -------------------------------------------------------------------------------- /libs/ServiceStack.Text.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/ServiceStack.Text.dll -------------------------------------------------------------------------------- /libs/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/log4net.dll -------------------------------------------------------------------------------- /libs/nunit-console-runner.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/nunit-console-runner.dll -------------------------------------------------------------------------------- /libs/nunit-gui-runner.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/nunit-gui-runner.dll -------------------------------------------------------------------------------- /libs/nunit.core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/nunit.core.dll -------------------------------------------------------------------------------- /libs/nunit.core.interfaces.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/nunit.core.interfaces.dll -------------------------------------------------------------------------------- /libs/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/nunit.framework.dll -------------------------------------------------------------------------------- /libs/nunit.mocks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/nunit.mocks.dll -------------------------------------------------------------------------------- /libs/nunit.uiexception.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/nunit.uiexception.dll -------------------------------------------------------------------------------- /libs/nunit.uikit.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/nunit.uikit.dll -------------------------------------------------------------------------------- /libs/nunit.util.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nickntg/thalessimulatorlibrary/9d71846670d8119485deb3a244dfa8ab576c256f/libs/nunit.util.dll --------------------------------------------------------------------------------