|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Thirumarban Madhavaraman (thirumarban_m_at_YAHOO.COM.SG)
Date: Mon Dec 16 2002 - 22:31:52 CST
Hi,
Again Thank you,I solved the problem ,Df Is
successfully created. I Decremented the Sendbufflen to
20,there too I do not include the length of Le. Now
everything is ok.
Thanks a lot
M.Thiru
--- Eric Perlin <ericperl
WINDOWS.MICROSOFT.COM>
wrote: > It's pretty odd that this solves your problem
but
> might explain why you
> have cryptographic errors afterwards (your other
> post).
> Since your card is a T=0 card, Le is typically not a
> part of the buffer
> that you send when Lc != 0.
> I don't know how secure messaging (SM) works on your
> card, but without
> SM, this command would be wrong.
>
> Also padding after Le doesn't seem right.
> You probably want to really make sure what you need
> to padd/encrypt.
> I don't believe Le should be part of that.
>
> Hope this helps.
>
> Eric Perlin [MS]
>
> -----Original Message-----
> From: SUSCRIBE SmartCardSDK M.Thiru
> [mailto:thirumarban_m
YAHOO.COM.SG]
> Sent: Sunday, December 15, 2002 10:21 PM
> To: SmartCardSDK
DISCUSS.MICROSOFT.COM
> Subject: Re: ScardtTransmit Error(0x57) or dec(87)
>
>
> Hi,
> Thanks for all. I think I solved the problem. I
> increased the value of
> Lc
> by 1 to accomodate Le too. 12 bytes for data, 3
> bytes for Checksum and 1
> byte for le. so altogethr it is 16 bytes,error has
> gone.
>
> M.Thiru
__________________________________________________
Do You Yahoo!?
Play for a chance to win a trip to Sydney!
http://sg.mobile.yahoo.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]