Quantcast
Channel: thalessim Discussions Rss Feed
Viewing all articles
Browse latest Browse all 279

New Post: Translate PIN BLOCK from TPK to ZPK error.

$
0
0

I have tested on Thales Simulator. When i send the message. 

HSM receive as below:

=== [CA], starts 15:04:02.553 =======

[Key,Value]=[Account Number,411104555566]

[Key,Value]=[Destination ZPK,604DE0EA1B18C73C2BD6E6CAAECF939F]

[Key,Value]=[Destination ZPK Scheme,U]

[Key,Value]=[PIN Length,12]

[Key,Value]=[Source PIN Block,177D46C27D279515]

[Key,Value]=[Source PIN Block Format,01]

[Key,Value]=[Source TPK,4660862B7579BBF08B6E6177E36E53A6]

[Key,Value]=[Source TPK Scheme,U]

[Key,Value]=[Target PIN Block Format,01]

 

But instead of continue processing, in Application Events display: 

 

Calling AcceptMessage()...

Calling ConstructResponse()...

Exception while processing message

System.FormatException: Input string was not in a correct format.

   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)

   at System.Convert.ToInt32(String value)

   at ThalesSim.Core.PIN.PINBlockFormat.ToPIN(String PINBlock, String AccountNumber_Or_PaddingString, PIN_Block_Format Format)

   at ThalesSim.Core.HostCommands.BuildIn.TranslatePINFromTPKToZPK_CA.ConstructResponse()

   at ThalesSim.Core.ThalesMain.WCMessageArrived(WorkerClient sender, Byte[]& b, Int32 len)

Disconnecting client.

Calling Terminate()...

 

So what should i do now. Please help me. Thanks in advance.

 


Viewing all articles
Browse latest Browse all 279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>