|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [Muscle] Error in uploading file to the card
From: Karsten Ohme (widerstand
t-online.de)
Date: Tue Mar 15 2005 - 11:44:17 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
kedar wrote:
> Hi group ...
>
> I am new bie to this group and ..what my problem is that when ever i
> try to upload file on to the card i am receiving the error and the
> trace file for that is here ....
>
>
> ======================= Upload file into a card
> CMD: Install for load
> -> 80 E6 02 00 15 10 A0 00 00 00 18 FF 00 00 00 00 00 00 00 00 00 01
> 00 00 00 00 00
> <- 00 90 00
> 11 blocks to load ...
> CMD: Load File
> -> 80 E8 00 00 CC C4 82 08 43 BA CA CA FE 20 01 1A 63 6F 6D 2E 67 65
> 6D 70 6C 75 73 2E 65 78 61 6D 70 6C 65 73 2E 70 75 72 73 65 10 A0 00
> 00 00 18 FF 00 00 00 00 00 00 00 00 00 01 3E 66 69 6C 65 3A 2F 43 3A
> 2F 47 65 6D 70 6C 75 73 2F 47 65 6D 58 70 72 65 73 73 6F 2E 72 61 64
> 33 2F 65 78 61 6D 70 6C 65 73 2F 47 58 50 50 72 6F 2D 52 33 2F 50 75
> 72 73 65 2F 6F 75 74 2F 05 50 75 72 73 65 10 A0 00 00 00 18 FF 00 00
> 00 00 00 00 00 00 00 02 00 00 07 B7 1F 8B 08 00 00 00 00 00 00 00 8D
> 57 6B 70 5B 57 11 FE AE AC 77 94 58 72 E3 A4 4E AC C6 4D DB C4 91 D5
> B8 89 8B DD C4 AE 5D C9 8F A0 44 7E D4 B2 1D DC D0 DA D7 D2 B5 7D 6B
> BD B8 92
> <- 69 85
> *** ??? : OP.error.E8.6985
You have to take a look in the iso 7816-4 specification.
Error code 69 85 means: "Conditions of use not satisfied."
Look in the Open Platform specification (if your card complies with Open
Platform 2.0.1').
Maybe this error means:
A requirement for using the command is not satisfied. For example:
• The command was not issued in a secure channel or the preceding
command was not the required Install command.
• If DAP verification was required, the associated security domain did not
have the appropriate privilege in the application privilege byte.
• The mandatory load file data block DAP was not present in the data
field.
The security domain AID does not match the AID of a security domain
with mandated DAP privileges.
If at least one personalized security domain with mandated DAP
verification privilege is present on the card, the Load File Data Block DAP
field is mandatory, and the security domain AID data field should match
the AID of one of those personalized security domains.
But one thing is strange:
80 E8 00 00 CC (Load command with CLA, INS, P1, P2, and Lc)
Tag that load file data block starts
C4
its length (2115 bytes)
82 08 43
Now I would expect the first part of an IJC file. This first part is the
Header file. (See Java specification 2.1.1)
BA CA CA FE does not fit the following excerpt from the specification:
header_component {
u1 tag
u2 size
u4 magic
u1 minor_version
u1 major_version
u1 flags
package_info this_package
}
The items in the header_component structure are as follows:
tag
The tag item has the value COMPONENT_Header (1).
size
The size item indicates the number of bytes in the header_component
structure,
excluding the tag and size items. The value of the size item must be
greater than zero.
magic
The magic item supplies the magic number identifying the Java Card CAP file
format; it has the value 0xDECAFFED.
Are you using the Muscle Tools? What Load File ist it? Are your values
from the INSTALL [for load] matching the LOAD command? Have you to
insert a non volatile code space limit in the INSTALL [for load] (you
haven't)?
Bye, Karsten
>
>
> I cannot able to resolve this error....can anybody tell me how to
> resolve this error please.....
>
> Thanks in advance ...
>
> Regards
> Kedarnath.
> _______________________________________________
> Muscle mailing list
> Muscle
lists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]