Hello everyone, I'm using OCF, GCR410, and a GPK8000 card and would like to import a public/private keypair and certificate onto the card. I can succesfully import the private key and sign data, but verification of the signature will not work -- actually importing the public key _with_ validation fails. I get this stack trace... java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at com.gemplus.opencard.service.gpk.signature.GPKKeyImportService.importPublicKey(GPKKeyImportService.java:621) at com.gemplus.opencard.service.gpk.signature.GPKKeyImportService.importAndValidatePublicKey(GPKKeyImportService.java:210) at DSC.personalizeCard(DSC.java:640) at DSC.cardInserted(DSC.java:228) at opencard.core.event.EventGenerator.updateCards(EventGenerator.java:233) at opencard.core.terminal.CardTerminalRegistry.cardInserted(CardTerminalRegistry.java:281) at opencard.core.terminal.CardTerminal.cardInserted(CardTerminal.java:577) at com.gemplus.opencard.terminal.GemplusCardTerminal.poll(GemplusCardTerminal.java:598) at com.gemplus.opencard.terminal.GemplusCardTerminal.poll(GemplusCardTerminal.java:568) at opencard.core.event.EventGenerator.run(EventGenerator.java:199) at java.lang.Thread.run(Thread.java:484) I am at a loss...is this possible?? Anyone done this before? The Gemplus OCF test program only has hardcoded values... Are X509 Certs able to be imported onto the cards? Please send any advice/suggestions my way. Thanks a lot! --MIC.
