Posted by linkit
(200.82.186.92) on October 07, 2008 at 10:51:41:
Hello, command (&HC0 &H06), I always get swDesCheckError (&H66 &HC3). I am encrypting the command, following the steps of section 9.2 of the BasicCard Manual. I have manually encrypted and decrypted the command and it looks fine, but when I send the APDU command to the card using my application, it returns 66C3 error. We don't use Basic Language in our POS, these are custom libraries based on C Language. If I don't use Basic language I cannot use the sentence
unsigned char stxData[]={0xC0, 0x06, 0x80, 0x20, 0x02, 0x41, 0x42} //this is my command in plain text before encrypt it. //then I encrypt the data using DES algorithm. //I send the APDU command after encrypt the data Thanks for your help.
|