BlackBerry 代码签名工具申请及安装介绍

作者: BlackBerry 提供

 

 

 

背景

 

出于安全和出口控制的 原因, Re s e a rc h I n M otio n (RI M ) 必须跟踪一些敏感 Bla c kBe rry ® 应用程 序编程接口( AP I )的使用情况。敏感类别或方 法在 AP I 参考文档中使用 锁定 图标或

“S ig ne d 字样表示。如 您在应用程序中使用了 这些受控类,在您将应 用程 .c od 文件 载到 Blac k Be rry 智能手机之前,您的应用程序必须 使用签名工具(由 RI M 提供)进行签名。 注册流程需要提供有效 的信用卡,将收取管理 20 美元。官网介 :

ht t p : / /cn .black b erry. c o m/ de v e l o per s /j a vaa ppdev / c o de k e ys.jsp

 

 

 

 

一、概述

 

Bl a ckberr y 开发中, 如果您 应用 序使用了 受控 API ,在 载到 Bla ck b erry 手机 前, 必须使用 RIM 供的签名 密钥对 进行 名,签名 所用的 k ey 需要向 RI M 请。本 档介绍 RIM 签名的 请过 及在公司 共用一 签名 况下的环 境搭建。

 

注意: 当要在 Bl ackB err y 智能 机上 行应用程 序时, 需要 应用程序 进行注 和签 。使

  Bla ckberr y 能手机模 拟器运 应用 序时不需 要对其 行签

 

 

 

二、签名申请

 

要注 以获得 Bla ckB erry 运行时 应用 序和 API 您需 填写 Web 。注 完成 后,您 会通 电子邮件 收到一 列密 和相关安 装说明 可用 使用 Bla c kBerry 签名 具对您 的应用 序进 签名。完 成注册 程需 提供有效 的信用 ,将 取管 2 0 美元。

 

注意: 常, 钥会在提 交必要 单后的 4 8 内发送 您的 子邮箱, 但有时 一过 也会花 费长达 1 0 工作 间。中 申请 签名,一 般需要 5 1 0 工作 的时间 因为 钥会作 为附件 送到 箱,因此 所使用 邮箱 要避免将 该邮件 为垃 邮件过滤 或者自 删除 件。

 

 

 

 

签名申请前请准备:

 

1   接收 钥的

 

2 有美元 费功能的 信用卡 国内 信用卡, Vi sta M aste r


签名申 UR L 为: h ttps:// w w w . bla c kberry. c o m/ Si gnedKe y s/

 

 

 

 

需要填写 以下 1

 

 

 

 

 

 

对于中 的姓 ,一般来 fir st n a m e 是名, la st n am e 姓, 个对签名 的申请 是关 。接 下来的 c o m p an y 司的英 名称 Em ail 写要接 密钥 邮箱, p h o n e 个人 电话号 码, Add ress city 作为 司的话 填写 司的地址 p rov in c e 保持原样 co un tr y 选择 chin a p o stal / z ip c o d e 写邮政 Quan ti ty 需要填


接下来 写第 个表单 2

 

 

 

 

 

 

 

 

P IN 是指 己定 的密 1 0 位数 ,请 密码, 后续 收到 RI M 的密钥 会用 。接下 去关于 Y ES/ N O 选项 关于 RIM 引用 API 关,可 进一 了解,一 般选择 N O 可以。


再接下 是信 卡信息, 注意要 写正 CardHo ld er N am e 信用 持有 的姓名 指信 卡正面 的英文 CardH o ld er P h o n e 用卡 有人的电 话,一 直接 写个人的 电话号 即可, CardH o ld er E m ail 卡持有 E m ail 可以 和上面 单一 Credi t Card Ty p e 的类 型,信 卡正 可以找到 Credi t Card Nu m b er 用卡号 Expir ati o n D at e 信用 过期 间,在 信用正 可以 到, Credi t Card  s ecuri t y Nu m b er 用卡安 号只 用卡背面 的三位 字。 果对 信用卡 项内 不清楚, 可以从 卡行 网站或者 银行信 卡电 寻求帮助

 

填写提 之后 会出现一 个总结 的页 ,在这个 页面要 用户 认,最好 拷贝或 记录 项信 息,页 下面 最终的提 交按钮 按下 后将不可 撤销。 提交 后,一般 国内的 用卡 费美 元会给 电话 认(如果 出现这 ,申 成功的可 能性就 很大

 

注意: 申请 功提交之 后,会 $ 3 0 信用 交易, RI M 答如

 

the ini tial $ 3 0 ch arg e is a h o ld in g fe e p la ced by t h e cr edi t card c o m p an y to v erify t h at th e fund s are av ail ab le f o r the t ran s acti on , t h is a mo un t i s high er tha n t h e li st ed $ 2 0 fe e t o acc oun t fo r curr ency

chang es, tax es et c. This is a t e m p o rar y v alu e an d will n o t r em ain o n y o u r bi ll , t h e actual a mo un t fo r t h e

key s is $ 2 0 US.

 

大概意 $ 3 0 似于 用信用 入住 店时的冻 结资金 实际 额在成交 之后按 $ 2 0 到此, 请的 程完结, 接下去 等待 RIM 答复 ,注意 5 -1 0 指工 日,而 自然

 

 

 

三、环境搭建

 

在成 申请 RIM 若干封 件, 中至少有 三封包 附件 邮件,三 个附件 别为:

 

clien t-RBB-X XX XX XX X XX .csi clien t-RCR- XX X XX XX X XX .c si clien t-RRT- XX XX X XX XX X. csi

其中 X XX X XX XX X X 指申 请签名的 clien t I D 三个 附件为 RB B, RR T an d RC R key s.

 

每封邮 都介 有附件的 使用方 ,按 里面的步 骤安装 名就 。内 容如下:

 

Th e followin g attach m en t wil l all o w th e B l ackBerr y Sig n atureTo o l t o registe r with th e Signin g A uthorit y . Pleas e ens u r e tha t th e BlackBer r y devel o pmen t too l of

choic e ha s b e e n inst a lle d ont o th e workst a tio n tha t wi l l b e us e d t o sig n yo u r

BlackBerr y a p plicati o ns.

 

T o registe r t h e atta c hment , pleas e follo w th e instruct i on s bel o w :

 

I f yo u pla n t o us e b o t h th e Black B err y JD E an d BlackBe r r y JD E P lu g -i n fo r E c lipse instal l th e s ignatur e key s usin g t h e Blac k Berr y JDE .                      T hi s sho u l d allo w yo u to

sig n fro m ei t he r too l .


 

BlackBerr y J D E o r Bl a ckBerr y JD E C omponen t Packag e Use r s:

1 )   Double- c lic k o n th e attachme n t .

2 )   I f a di a lo g bo x appear s tha t state s t ha t a privat e ke y ca n no t b e found,

complet e ste p s 3 thr o ug h 6 befor e yo u con t inue . Otherw i se , pro c ee d t o ste p 7 .

3 )   Clic k " Y es " t o c reat e a ne w k e y pai r file.

4 )   Typ e a p asswor d fo r you r pri v at e ke y o f a t leas t 8 charac t ers , an d typ e i t agai n t o con f irm .     T h i s i s you r p r ivat e k e y password , w hic h pr o tect s you r p r ivate key . Pleas e r emembe r thi s passwor d a s yo u wil l b e prom p te d fo r i t eac h time

signin g i s a t tempte d o r a signatu r e ke y i s installed .

5 )   Clic k " O k"

6 )   Mov e yo u r mous e t o generat e d at e fo r a ne w privat e key.

7 )   I n th e " Registr a tio n PIN " fi e ld , typ e th e PI N num b e r tha t yo u supplie d on

th e signatur e ke y or d e r form.

8 )   I n th e P rivat e K e y passwor d f ield , t y p e th e pa s sw o r d crea t e d i n ste p 4 .

9 )   Clic k " R egister " .

10 ) Clic k "E x it".

11 ) Repea t t h i s proc e s s fo r th e o t he r .cs i files.

 

BlackBerr y J D E Plug- i n fo r Eclips e Users :

1 )   Sav e al l 3 .cs i file s i n th e sam e di r ector y (eac h on e wil l b e sen t i n a

separat e ema i l messa g e) .

2 )   Star t E c lipse.

3 )   Clic k o n th e Bl a ckBerr y men u an d cho o s e Instal l S i gnatur e Keys.

4 )    Selec t on e o f t h e 3 .cs i fi l e s save d i n ste p 1 a n d clic k Open.

5 )   Clic k " Y es " t o c reat e a ne w k e y pai r file.

6 )   Typ e a p asswor d fo r you r pri v at e ke y o f a t leas t 8 charac t ers , an d typ e it agai n t o con f irm .     T h i s i s you r p r ivat e k e y password , w hic h pr o tect s you r p r ivate key . Pleas e r emembe r thi s passwor d a s yo u wil l b e prom p te d fo r i t eac h time

signin g i s a t tempte d o r a signatu r e ke y i s installed.

7 )   Mov e yo u r mous e t o generat e d at e fo r a ne w privat e key .

8 )   I n th e R egistra t io n PIN " fie l d , typ e th e PI N numb e r tha t y o u supplie d o n the

signatur e ke y orde r f orm.

9 )  I n th e P r ivat e K e y passwor d f i eld , ty p e th e passwo r d creat e d i n ste p 6.

10 ) Clic k "R e gister".

11 ) Clic k "E x it".

12 ) Repea t t h i s proc e s s fo r th e o t he r cs i files.

 

BlackBerr y W i dge t SD K , BlackBerr y We b Dev e lopmen t Plu g- i n fo r E clips e or

BlackBerr y P l ug-i n f o r Microsof t V isua l S t udi o Users :

1 ) A t th e co m man d pr o mpt , navigat e t o th e bi n folde r w i t h i n th e BlackBerr y W idge t

Package r ins t allatio n directory . Defaul t directorie s a re:

BlackBerr y W i dge t SD K an d BlackBe r r y Plu g- i n fo r Micro s of t Vis u a l Studio:

C:/Progra m F i les/Res e arc h I n Moti on /Black B err y Widge t P ackage r / bi n   BlackBe r ry

We b Developm e n t Plug - i n fo r Eclip s e:

<Eclips e Ins t allatio n >/plugins / n e t.rim.b r owser.tools. w cp c / wc p c/bi n C :/Pro g ra m

Files/Resear c h I n Mo t io n /BlackBer r y Widge t Package r/bin

2 ) Typ e th e f ollowin g command , in c ludin g t h e ful l pat h o f th e . cs i file:

jav a -ja r Si g natureT o ol.ja r < .cs i fil e pa t h >

3 )  I f a dia l o g tha t a privat e ke y canno t b e foun d app e ars , pe r for m th e fol l owing

actions:

a . Clic k Yes.


b . Typ e a pa s swor d f o r th e privat e key. c . Typ e th e p asswor d t o confir m i t .

d . Clic k OK.

e . Mov e th e m ous e t o generat e dat a fo r th e ne w privat e key.

4 ) I n th e Re g istrati o n PI N field , typ e th e PI N tha t RI M . provi d ed.

5 ) I n th e Pr i vat e Ke y Passwor d fi e ld , typ e a passwor d o f a t le a s t eight

characters . T hi s i s t h e privat e k e y passw o rd.

6 ) Clic k Reg i ster.

7 ) Clic k Exi t .

 

 

Importan t in f ormatio n fo r al l use r s:

Note : Al l 3 k ey s (RB B , RCR , RRT ) r eceive d nee d t o b e i n stalle d o n th e sam e P C.

Th e sam e pas s wor d mu s t b e specifi e d fo r a l l key s o n th e sam e P C .  Yo u should receiv e eac h key/.cs i fil e i n a s e parat e e mai l message.

 

Fo r furth e r inf o rmat i o n on B lackBerr y Con t rolle d AP I s an d sign i n g o f a pplicati o ns , pleas e refe r t o th e B lackBerr y Si g natur e T oo l Develope r Guid e v ersio n 4.2.0 ,

foun d a t th e followi n g link:

 

http://www.b l ackberr y .com/knowled g ecenter p ublic/liveli n k.exe/f e tch/200 0 /806 7 /6450

45/8655/8656 / 1271077 / BlackBerry_S i gnature _ Tool_Develop e r_Guide . pdf?nodeid=1 2 71325

&vernum=0

 

Pleas e note : Whe n r e gisterin g wi t h th e s i gnin g author i ty , ens u r e tha t yo u h ave

correctl y en t ere d yo u r registrati o n PI N n u mber . I f yo u ente r t h e incor r ec t PI N 5

times , you r k ey s wil l b e deactiva t ed. Troubleshoot i ng:

I f yo u ar e h a vin g di f ficult y inst a llin g o r registerin g you r si g natur e key s p lease chec k th e Si g natur e K e y an d Cod e s ignin g s ectio n o f th e Develo p e r Knowledg e Base foun d here: http://www.b l ackberr y .com/knowled g ecenter p ublic/liveli n k.exe?f u nc=ll&objId= 8 00989

&objAction=b r owse&so r t=name

 

I f yo u conti n u e t o e x perienc e iss u e s plea s e contac t de v support @ rim.co m .

Bes t o f luc k wit h yo u r developmen t an d th a n k yo u fo r y o u r inte r es t i n Black B erry. Regards,

BlackBerr y A p plicati o n Developmen t Suppor t Team

http://www.b l ackberr y developer.com

 

 

 

Dat e Issued : Tuesday , Marc h 16 , 2 0 1 0 @ 14 : 54:1 5 Key s I s sued : R R T

Recipient : y o uremail @ rim.com

 

<<client-RRT - 2076343 6 2.csi>>

 

 

------------ - ------- - ----------- -- ------- - ------------ - ------- - ----- -


Thi s transmi s sio n (i n cludin g an y a ttachme n ts ) ma y cont a i n conf i dential

information , privile g e d materia l ( includi n g materia l p r otecte d b y th e solic i to r -

clien t o r ot h e r appl i cabl e privil e ges) , o r constitut e n o n -publ i c in formatio n . Any us e o f t hi s in f ormat i o n b y a n yon e o t he r t h a n th e i ntende d reci p ien t i s prohibit e d.

I f yo u hav e r eceive d thi s transmi s sio n i n error , pleas e immedi a tel y repl y t o the sende r an d d e let e th i s informatio n fro m y o u r system . U s e , diss e mination, distribution , o r rep r oductio n o f t hi s tra n smissio n b y u nintend e d recipient s is

no t authoriz e d an d m a y b e unlawfu l .

 

 

注意事项:

 

1 .     如果希 签名 具能够同 时支持 Bla c kBerr y J D E Bla ckBe rr y Ja v a P lug in fo r E clip se ,需 要先为 Bla c kBerr y J D E 安装

2 .     每次要 名应 的时候, 就拷贝   c o d   c sl 文件 该机器 打开   c o d 件完 成签名。

3 .     如果需 卸载   JD E 新安 一定要 先备份以下三个文件

 
 

 

 

BlackBerry SDK下载

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值