How to apply for and install the code signing tool for BlackBerry Development

Source: Internet
Author: User

This article focuses on the application and installation of the Black Berry code signing tool. For security and exit control reasons, Research In Motion (RIM) must track sensitive Black Berry®Application Programming Interface API) usage.

Introduction to application and installation of the Black Berry code signing Tool

Black Berry development background

Research In Motion (RIM) must track sensitive Black berries for security and exit control reasons®Application Programming Interface API) usage. The sensitive category or method is indicated by the "Lock" icon or "Signed" in the API reference document. If you use these controlled classes in the application. before the cod file is loaded to the Black Berry smartphone, your application must use the signature tool provided by RIM) for signature. A valid credit card is required to complete the registration process, and a management fee of $20 will be charged. Official Website: http://cn.blackberry.com/developers/javaappdev/codekeys.jsp

I. Overview

During Black Berry development, if your application uses a controlled API, you must use the signature key provided by RIM to sign it before loading it to the Blackberry smartphone, the key used for the signature must be applied to RIM. This document describes the application process of RIM signature and the establishment of an environment where the company shares a signature.

Note: You must register and sign the application only when you want to run the application on the BlackBerry smartphone. You do not need to sign an application when using the Blackberry smartphone simulator.


Ii. Signature Application

To register for BlackBerry runtime, application, and encrypted API, enter this Web form. After registration, you will receive a series of key and installation instructions via email, which can be used to sign your application using the BlackBerry signature tool. A valid credit card is required to complete the registration process, and a management fee of $20 will be charged.

Note: Generally, keys are sent to your email within 48 hours after the necessary forms are submitted, but sometimes this process may take up to 10 working days. The signature applied by China generally takes 5 to 10 business days. Because the key is sent to the mailbox as an attachment, you must avoid filtering the email as a spam or automatically deleting the attachment.


Before applying for a BlackBerry development signature:

1) email address for receiving the key

2) domestic credit cards with USD consumption functions, Vista and Master)

Signed request URL: https://www.blackberry.com/SignedKeys/


Enter the following form 1:

For Chinese names, firstname is generally the first name and lastname is the last name. This signature application is not critical. In the following example, enter the company name in English, Email enter the Email Address for receiving the key, phone enter the personal phone number, Address and city as the company, and enter the company Address, generally, province remains unchanged. china, postal, and zipcode are selected for country to enter the zip code, and Quantity is not required.


Next, enter Form 2:

 


PIN refers to your own password, which is a 10-digit number. Remember this password and will be used after receiving RIM's key. Next, the options about YES/NO are related to RIM's reference to the encrypted API. For more information, select NO.


The next step is the credit card information. Be sure to enter the correct information. The name of the CardHolderName credit card holder refers to the English name on the front of the credit card. CardHolderPhone refers to the phone number of the credit card holder. Generally, you can enter your personal phone number directly. CardHolderEmail refers to the Email address of the credit card holder. It can be found on the front of the credit card, just like in the form above; creditCardNumber: Credit card number. ExpirationDate: expiration time of the credit card. You can find it on the front of the credit card. CreditCardsecurityNumber is only three digits on the back of the credit card. If you are not clear about the credit card content, you can seek help from the Bank's website or bank's credit card phone number.

After you fill in the submission, a summary page will appear. on this page, ask the user to confirm, it is best to copy or record the information, there is a final submit button under the page, the press will not be undone. After the submission, the general domestic credit card payment USD will give you a call to confirm if this occurs, the possibility of successful application will be great ).

Note: after the application is successfully submitted, a $30 credit card transaction will appear. RIM's answer is as follows:

Theinitial $30 seconds, thisamountishigherthanthelisted $20 feetoaccountforcurrencychanges, taxesetc. Thisisatemporaryvalueandwillnotremainonyourbill, theactualamountforthesis key$ 20.

It means that $30 is similar to the frozen funds when you use a credit card to stay in the hotel. The actual amount is settled at $20 after the deal.

At this point, the application process is complete, and you need to wait for RIM to reply. Note that 5-10 days refers to the working day rather than the natural day.


Iii. setup of the BlackBerry signature development tool environment

After successful application, RIM will send several emails, including at least three emails containing attachments. The three attachments are:

Client-RBB-XXXXXXXXXX.csi

Client-RCR-XXXXXXXXXX.csi

Client-RRT-XXXXXXXXXX.csi

XXXXXXXXXX indicates the clientID for the request signature. The three attachments are RBB and RRTandRCRkeys.

Each email introduces how to use attachments. you can install the signature according to the steps in the email. The content is as follows:

 
 
  1. ThefollowingattachmentwillallowtheBlackBerrySignatureTooltoregisterwiththeSigningAuthority.  
  2.  
  3. PleaseensurethattheBlackBerrydevelopmenttoolofchoicehasbeeninstalledontotheworkstationthatwillbeusedtosignyourBlackBerryapplications.  
  4.  
  5. Toregistertheattachment,pleasefollowtheinstructionsbelow:  
  6.  
  7.  
  8. IfyouplantouseboththeBlackBerryJDEandBlackBerryJDEPlug-inforEclipseinstallthesignaturekeysusingtheBlackBerryJDE.  
  9.  
  10. Thisshouldallowyoutosignfromeithertool.  
  11.  
  12. BlackBerryJDEorBlackBerryJDEComponentPackageUsers:  
  13.  
  14. 1)Double-clickontheattachment.  
  15.  
  16. 2)Ifadialogboxappearsthatstatesthataprivatekeycannotbefound,completesteps3through6beforeyoucontinue.Otherwise,proceedtostep7.  
  17.  
  18. 3)Click"Yes"tocreateanewkeypairfile.  
  19.  
  20. 4)Typeapasswordforyourprivatekeyofatleast8characters,andtypeitagaintoconfirm.Thisisyourprivatekeypassword,  
  21.  
  22. whichprotectsyourprivatekey.Pleaserememberthispasswordasyouwillbepromptedforiteachtimesigningisattemptedorasignaturekeyisinstalled.  
  23.  
  24. 5)Click"Ok"  
  25.  
  26. 6)Moveyourmousetogeneratedateforanewprivatekey.  
  27.  
  28. 7)Inthe"RegistrationPIN"field,typethePINnumberthatyousuppliedonthesignaturekeyorderform.  
  29.  
  30. 8)InthePrivateKeypasswordfield,typethepasswordcreatedinstep4.  
  31.  
  32. 9)Click"Register".  
  33.  
  34. 10)Click"Exit".  
  35.  
  36. 11)Repeatthisprocessfortheother.csifiles.  
  37.  
  38.  
  39. BlackBerryJDEPlug-inforEclipseUsers:  
  40.  
  41. 1)Saveall3.csifilesinthesamedirectory(eachonewillbesentinaseparateemailmessage).  
  42.  
  43. 2)StartEclipse.  
  44.  
  45. 3)ClickontheBlackBerrymenuandchooseInstallSignatureKeys.  
  46.  
  47. 4)Selectoneofthe3.csifilessavedinstep1andclickOpen.  
  48.  
  49. 5)Click"Yes"tocreateanewkeypairfile.  
  50.  
  51. 6)Typeapasswordforyourprivatekeyofatleast8characters,andtypeitagaintoconfirm.  
  52.  
  53. Thisisyourprivatekeypassword,whichprotectsyourprivatekey.Pleaserememberthispasswordasyouwillbepromptedforiteachtimesigningisattemptedorasignaturekeyisinstalled.  
  54.  
  55. 7)Moveyourmousetogeneratedateforanewprivatekey.  
  56.  
  57. 8)IntheRegistrationPIN"field,typethePINnumberthatyousuppliedonthesignaturekeyorderform.  
  58.  
  59. 9)InthePrivateKeypasswordfield,typethepasswordcreatedinstep6.  
  60.  
  61. 10)Click"Register".  
  62.  
  63. 11)Click"Exit".  
  64.  
  65. 12)Repeatthisprocessfortheothercsifiles.  
  66.  
  67.  
  68.  
  69. BlackBerryWidgetSDK,BlackBerryWebDevelopmentPlug-inforEclipseorBlackBerryPlug-inforMicrosoftVisualStudioUsers:  
  70.  
  71. 1)Atthecommandprompt,navigatetothebinfolderwithintheBlackBerryWidgetPackagerinstallationdirectory.Defaultdirectoriesare:  
  72.  
  73. BlackBerryWidgetSDKandBlackBerryPlug-inforMicrosoftVisualStudio:  
  74.  
  75. C:\ProgramFiles\ResearchInMotion\BlackBerryWidgetPackager\binBlackBerryWebDevelopmentPlug-inforEclipse:  
  76.  
  77. <EclipseInstallation>\plugins\net.rim.browser.tools.wcpc\wcpc\binC:\ProgramFiles\ResearchInMotion\BlackBerryWidgetPackager\bin  
  78.  
  79. 2)Typethefollowingcommand,includingthefullpathofthe.csifile:  
  80.  
  81. java-jarSignatureTool.jar<.csifilepath> 
  82.  
  83. 3)Ifadialogthataprivatekeycannotbefoundappears,performthefollowingactions:  
  84.  
  85. a.ClickYes.  
  86.  
  87. b.Typeapasswordfortheprivatekey.  
  88.  
  89. c.Typethepasswordtoconfirmit.  
  90.  
  91. d.ClickOK.  
  92.  
  93. e.Movethemousetogeneratedataforthenewprivatekey.  
  94.  
  95. 4)IntheRegistrationPINfield,typethePINthatRIM.provided.  
  96.  
  97. 5)InthePrivateKeyPasswordfield,typeapasswordofatleasteightcharacters.Thisistheprivatekeypassword.  
  98.  
  99. 6)ClickRegister.  
  100.  
  101. 7)ClickExit.  
  102.  
  103.  
  104. Importantinformationforallusers:  
  105.  
  106. Note:All3keys(RBB,RCR,RRT)receivedneedtobeinstalledonthesamePC.ThesamepasswordmustbespecifiedforallkeysonthesamePC.Youshouldreceiveeachkey/.csifileinaseparateemailmessage.  
  107.  
  108. ForfurtherinformationonBlackBerryControlledAPIsandsigningofapplications,pleaserefertotheBlackBerrySignatureToolDeveloperGuideversion4.2.0,foundatthefollowinglink:  
  109.  
  110. http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/8067/645045/8655/8656/1271077/BlackBerry_Signature_Tool_Developer_Guide.pdf?nodeid=1271325&vernum=0 
  111.  
  112. Pleasenote:Whenregisteringwiththesigningauthority,ensurethatyouhavecorrectlyenteredyourregistrationPINnumber.IfyouentertheincorrectPIN5times,yourkeyswillbedeactivated.  
  113.  
  114. Troubleshooting:  
  115.  
  116. IfyouarehavingdifficultyinstallingorregisteringyoursignaturekeyspleasechecktheSignatureKeyandCodesigningsectionoftheDeveloperKnowledgeBasefoundhere:http://www.blackberry.com/knowledgecenterpublic/livelink.exe?func=ll&objId=800989&objAction=browse&sort=name 
  117.  
  118. Ifyoucontinuetoexperienceissuespleasecontactdevsupport@rim.com.  
  119.  
  120. BestofluckwithyourdevelopmentandthankyouforyourinterestinBlackBerry.  
  121.  
  122. Regards,BlackBerryApplicationDevelopmentSupportTeamhttp://www.blackberrydeveloper.com  
  123.  
  124. DateIssued:Tuesday,March16,2010@14:54:15KeysIssued:RRT  
  125.  
  126. Recipient:youremail@rim.com  
  127.  
  128. <<client-RRT-207634362.csi>> 
  129.  
  130. ---------------------------------------------------------------------  
  131.  
  132. Thistransmission(includinganyattachments)maycontainconfidentialinformation,privilegedmaterial(includingmaterialprotectedbythesolicitor-clientorotherapplicableprivileges),orconstitutenon-publicinformation.Anyuseofthisinformationbyanyoneotherthantheintendedrecipientisprohibited.Ifyouhavereceivedthistransmissioninerror,  
  133.  
  134. pleaseimmediatelyreplytothesenderanddeletethisinformationfromyoursystem.  
  135.  
  136. Use,dissemination,distribution,orreproductionofthistransmissionbyunintendedrecipientsisnotauthorizedandmaybeunlawful.  
  137.  

Note:

1. If you want the signing tool to support both BlackBerryJDE and BlackBerryJavaPluginforEclipse, you must first install BlackBerryJDE

2. Each time you sign the application, copy the cod and csl files to the machine and open the cod file to complete the signature.

3. If you need to uninstall JDE and reinstall it, you must back up the following three files in advance.


 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.