*** The very short version for you busy people ;-) *** Why can I access a file with secure messaging using this local key file: hex: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 but not this one: hex: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 *** The slightly more elaborate version: *** I want to write/update-protect a transparent file by requiring secure messaging using a local key. So, in a DF, I create a transparent file and a key file. I create the transparent file with GPKFileUtilityService.createTransparentFile() using access conditions: 0x23, 0x00, 0x23, 0x00, 0x00, 0x00 This means that write/update access requires secure messaging using the local key with SFI=3, right? I load this key with GPKFileUtilityService.import3DESKey(), then I provide the credentials with GPKFileSystemService.provideCredentials(). But I cannot figure out what the requirements are for this key! Why does this key work: hex: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 when this one does not: hex: 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Also, the bytes of "PASSWORDPASSWORD" works, but not "PASSWORDWORDPASS". Where do I go wrong?? Thanks in advance, Jacob Tjornholm --- > Visit the OpenCard web site at http://www.opencard.org/ for more > information on OpenCard---binaries, source code, documents. > This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
