I am trying to create a DF on a GEMSAFE card I recenty bought(GS2.2 Standard
Crypto GPK8000su512 White)
I get an exception
opencard.opt.service.CardServiceMissingCredentialsException: No proper
credentials available
at
com.gemplus.opencard.service.gpk.access.GPKCardAccessor.secureTheSession(GPK
CardAccessor.java:204)
at
com.gemplus.opencard.service.gpk.access.GPKCardAccessor.executeCommand(GPKCa
rdAccessor.java:356)
at
com.gemplus.opencard.service.gpk.file.GPKFileSystemService.create(GPKFileSys
temService.java:141)
at
com.gemplus.opencard.service.gpk.file.GPKFileUtilityService.createDF(GPKFile
UtilityService.java:488)
at ReadFile.main(ReadFile.java:57)
When I execute the following code:
FileAccessCardService facs = (FileAccessCardService)
sc.getCardService(FileAccessCardService.class, true);
System.out.println("CardService OK");
GPKFileUtilityService myFSS = (GPKFileUtilityService)
sc.getCardService(GPKFileUtilityService.class,true);
CardFile root = new CardFile(facs);
CardFile myFile = new CardFile(root,":6089");
byte[] ac_000 = {
0, 0, 0
};
myFSS.createDF(myFile.getAbsolutePath(),false,ac_000);
System.out.println("DF Created");
Any Idea why?
---
> 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.