SIG的问题

tx040316 2009-05-18 06:02:28
我在网上申请了个SIG码,但是在手机上提示SIG数字签名失败,返回值是1026,我又换了一个程序放上去,还是失败,但是返回值不一样,这次是1030,想问一下怎么解决?是怎么回事?
...全文
1681 9 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
杭州山不高 2009-05-19
  • 打赏
  • 举报
回复
起始编号是0x400,也就是1024
从1025开始,就是具体的错误了。
1025 无效的sig
1026 sig文件丢失
......
杭州山不高 2009-05-19
  • 打赏
  • 举报
回复
SIG失败时,提示如下:

russian
Application digital
signature failure. (1030)

其中:
sussian(俄罗斯方块)——程序名称
Application digital signature failure.(应用程序数字签名失败。)——提示的失败信息
(1030)——1030是失败时给出的错误编号
  • 打赏
  • 举报
回复
都在AEEError.h中,摘取如下:
/ Digital Signature Errors
//
#define SIG_ERROR_BASE 0x400
#define SIG_INVALID (SIG_ERROR_BASE + 1) // Invalid signature
#define SIG_FILE_MISSING (SIG_ERROR_BASE + 2) // SIG file missing
#define SIG_FILE_INVALID (SIG_ERROR_BASE + 3) // Invalid SIG file format
#define SIG_EXPIRED (SIG_ERROR_BASE + 4) // Expired signature
#define SIG_NO_PERMISSION (SIG_ERROR_BASE + 5) // No valid permission
#define SIG_INVALID_ESN (SIG_ERROR_BASE + 6) // ESN is not valid
#define SIG_SIGNED_FILE_MISSING (SIG_ERROR_BASE + 7) // signed file missing
#define SIG_FILE_INVALID_VERSION (SIG_ERROR_BASE + 8) // Invalid SIG file major version
#define SIG_INVALID_VERSION (SIG_ERROR_BASE + 9) // invalid signature major version
#define SIG_BN_ERROR (SIG_ERROR_BASE + 10) // BN lib error
#define SIG_INVALID_CMS_FORMAT (SIG_ERROR_BASE + 11) // fail to parse CMS
#define SIG_X509_INVALID_ISSUER (SIG_ERROR_BASE + 12) // invalid issuer in X509 cert chain
#define SIG_X509_INVALID_TIME (SIG_ERROR_BASE + 13) // Invalid time format in X509 cert
#define SIG_X509_EXPIRED (SIG_ERROR_BASE + 14) // x509 expired
#define SIG_X509_INVALID (SIG_ERROR_BASE + 15) // invalid X509
#define SIG_X509_INVALID_PUBKEY (SIG_ERROR_BASE + 16) // invalid public key
#define SIG_X509_INVALID_SERIAL (SIG_ERROR_BASE + 17) // invalid serial number
#define SIG_CERT_MISSING (SIG_ERROR_BASE + 18) // missing cert
#define SIG_INVALID_TS_FORMAT (SIG_ERROR_BASE + 19) // invalid TimsStampResp
#define SIG_INVALID_CMS_SIG (SIG_ERROR_BASE + 20) // invalid signature in CMS
#define SIG_INVALID_ROOT_TYPE (SIG_ERROR_BASE + 21) // invalid root type
#define SIG_INVALID_MSG_IMPRINT (SIG_ERROR_BASE + 22) // invalid message imprint in TSRequest
#define SIG_CANNOT_OPEN_CERTCACHE (SIG_ERROR_BASE + 23) // cannot create an instance of the cert cache
#define SIG_FILE_CANNOT_TRUNCATE (SIG_ERROR_BASE + 24) // cannot truncate the sig file to get rid of the certs
#define SIG_INVALID_BYTE_RANGE (SIG_ERROR_BASE + 25) // the signed byte range is invalid for the signed files
#define SIG_INVALID_TYPE (SIG_ERROR_BASE + 26) // invalid signature type
#define SIG_CMS_TOO_MANY_CERTS (SIG_ERROR_BASE + 27) // too many certs, just want to protect us from infinite loop
#define SIG_INVALID_CERT_PERMISSION (SIG_ERROR_BASE + 28) // The permission in the cert doesn't match the permission in the signature blob
#define SIG_X509_NO_PERMISSION (SIG_ERROR_BASE + 29) // Permission list is empty in X509
#define SIG_NO_MEMORY (SIG_ERROR_BASE + 30) // not enough memory for the MD5 hash buffer
#define SIG_INVALID_HEADER_BYTE_RANGE (SIG_ERROR_BASE + 31)// invalid header signed byte range
#define SIG_INVALID_CMS_ECONTENT (SIG_ERROR_BASE + 32)
#define SIG_INVALID_CMS_TS (SIG_ERROR_BASE + 33)
#define SIG_MISSINGMODMIF_IN_SIG (SIG_ERROR_BASE + 34)
#define SIG_ERROR_LAST (SIG_ERROR_BASE + 34)
tx040316 2009-05-19
  • 打赏
  • 举报
回复
还要一个请求啊,能不能给我发一份SIG的错误返回码文件?
tx040316 2009-05-19
  • 打赏
  • 举报
回复
谢谢,问题解决了,是这样的:我昨天拿手机去电信刷了,结果把ESN改了,我生成的那个SIG是用原来的ESN,所以失败了。
  • 打赏
  • 举报
回复
看来是你生成sig的问题,手机的测试模式要打开,ESN要读取正确才行
  • 打赏
  • 举报
回复
1026是sig 文件丢失
1030是ESN无效

hhygcy 2009-05-18
  • 打赏
  • 举报
回复
这个名字要和你的应用程序名字一样
比如app.sig
hhygcy 2009-05-18
  • 打赏
  • 举报
回复
你申请的时候填写的esn或者imei号确认正确吗

2,851

社区成员

发帖
与我相关
我的任务
社区描述
本论坛以AI、WoS 、XR、IoT、Auto、生成式AI等核心板块组成,为开发者提供便捷及高效的学习和交流平台。 高通开发者专区主页:https://qualcomm.csdn.net/
人工智能物联网机器学习 技术论坛(原bbs) 北京·东城区
社区管理员
  • csdnsqst0050
  • chipseeker
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧