BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-11-2006, 06:41 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2005
Model: 8300
Carrier: T-Mobile
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Code Signature help!!!!

Please Login to Remove!

I am using Blackberry 7520 which supports File System.

I wrote a test app to write to a file and read from it. When I started the app, it says

"net.rim.device.app.io.FileOutputStream" not found

App runs fine in simulator(7520)

Before loading the app onto the device, I tried to get it signed. In the Request signature screen for my cod files,

the Status column shows "Not Required",
Cateogory column shows "Not Required"
Signer ID columns shows "3, RBB, RCI, RCC, RCR"
Signer Name column shows "Not Registered with optional..."


But according to javadoc the File api requires to be signed. Blackberry emailed me 3 .csi files(rrt, rcr, rbb). I ran the rrt version of csi file to get the code signed.

I have no clue how to proceed from here.

I wish BB made this entire process much easier and simpler.

Can someone help me. All my app does is access File API



Thanks

Mouli
Offline  
Old 01-19-2006, 04:33 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2005
Model: 8300
Carrier: T-Mobile
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

As per Blackberry support, I had to run all three of the csi files. The other important thing I had to do was to update jvm on my 7520 and everything is fine now.
Offline  
Old 01-19-2006, 06:47 PM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: May 2005
Model: 8100
Carrier: T-Mobile
Posts: 93
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

does any know how to sign a COD file from a known source. for example a customer sent a sample program and I tried to sign it to test but the signature tool would not open/load the COD file into the signing application. Was wondering if there was something special I need to do.
Offline  
Old 01-20-2006, 04:02 PM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2005
Model: 8300
Carrier: T-Mobile
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I used the JDE to get my cod signed. You might want to try through the JDE
Offline  
Old 12-03-2006, 10:07 PM   #5 (permalink)
New Member
 
Join Date: Nov 2006
Model: 8100
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Code signature

Hello All,

I have developed one application but when I trying to lauch it on device it gives error "Error Starting MyApp Module MyApp must be signed with the RIM Runtime Code Signing Key(RTT)". Then is get that csi file from RIM and registered it on my machine successfully.

Q.1 : As per given proceducer I did all the process first time when i build my application it creates three file .COD, .csi and CSO files, then again i did some change in code and build all but .csi file not getting generated. only two files will get generated COD and CSO. please let me know if any one having idea about this it very important for the my application.

Q.2 : If I registered with one pin number for code signing can I use same file COD file for the other devices. Or I need to register with each device PIN number.? Please help me...

Thanks in advance.
Sachin Kapase
Offline  
Old 12-04-2006, 12:16 AM   #6 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2006
Model: 8707g
Carrier: Hutch
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

When you compile a project using JDE or otherwise, alongwith the .cod file, two other files - .csl and .cso may be generated. The .csl file contains the keys with which this cod file MUST be signed. Otherwise the cod file will not run on the device (It will throw an exception). The .cso file contains list of optional signatures.
If there is no .csl file generated, it means that the cod file need not be signed. You may still sign it if you want.
The PIN number you used while registering has no relation to the your signing. It is the unique identifier between you and RIM, and they would only recognize you by your PIN. If you ever want to communicate with them regarding the keys, you will need to tell them your PIN. I suggest you do not use your device PIN for that purpose at all, since a lot of other people can know your device PIN.
Offline  
Old 12-04-2006, 12:22 AM   #7 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2006
Model: 8707g
Carrier: Hutch
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

MauiBoy - If you want to sign the cod files sent by someone else, either ask them to send the .csl and .cso alongwith, or create a .cso with the following data:

33000000=RIMAPPSA2
52424200=RIM Blackberry Apps API
52434300=RIM Crypto API - Certicom
52434900=RIM Crypto API - Internal
52435200=RIM Crypto API - RIM
52525400=RIM Runtime API

And use it to sign the cod file.

Hope it helps.
Offline  
Old 12-07-2006, 12:22 AM   #8 (permalink)
New Member
 
Join Date: Nov 2006
Model: 8100
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Adwin,

Thanks for reply.
Could you please tell me reason why .csl file not getting generated.

Thanks
Sachin Kapase
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.