×

Discussion Board

Page 1 of 3 123 LastLast
Results 1 to 15 of 41
  1. #1
    Regular Contributor
    Join Date
    Mar 2009
    Posts
    55

    Question how to differentiate self-sign and symbian sign

    recently i was reading sth about signing, and knew there were 2 kinds of signing: self-signing and symbian signing. then a question occured:

    once i get a signed application, how can i tell whether it's a self-signed app or a symbian signed app? can i differentiate them via code?
    Regards
    snakeninny

  2. #2
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: how to differentiate self-sign and symbian sign

    Hi,

    you can differenciate the application is selfsigned or symbian signed..

    Self signed uids have the general capabilities where are symbian signed have mostly the protected uids range.

    use tools like siscontent etc to know what exactly is there in the sis file..
    http://symbiandev.cdtools.net

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  3. #3
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to differentiate self-sign and symbian sign

    AFAIK you can't read sis content in your code for that you might need internal APIs, if you really want then you have to create support case with Forum.Nokia.

  4. #4
    Regular Contributor
    Join Date
    May 2008
    Location
    India
    Posts
    172

    Re: how to differentiate self-sign and symbian sign

    Hi,

    I don't think you could differentiate type of signing using code. However, you can use the signsis tool to find out the content of a sis file.

    Code:
    signsis -?
    This gives the command line options.
    Code:
    signsis sisfilename -o
    This tells you the type of signing.
    You could also resort to using another command line tool - "VerifySymbianSigned" to find out the type of signing done. You can find it at - developer.symbian.org.



    Good Luck.

    Shanker

  5. #5
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to differentiate self-sign and symbian sign

    how can i tell whether it's a self-signed app or a symbian signed app? can i differentiate them via code?
    so nair.shanker your method can't be used on device

  6. #6
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: how to differentiate self-sign and symbian sign

    very true, via code you may not be able to find out... as we cannot use the verifySymbianSigned tool on Symbian device at runtime...
    so internal API might be ur chance... which is used by the installer application on the phone to allow/show warning etc based on signing type.
    Amit Kankani
    Nokia Developer Champion

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,673

    Re: how to differentiate self-sign and symbian sign

    Do you have something that you want to achieve?
    Anyway, a simple check could be glancing at the UID. If it is from the protected range, the app can not be a self-signed one.
    Otherwise yes, there is an internal API for getting information about installed applications, you can probably get it via API partnering.

  8. #8
    Regular Contributor
    Join Date
    Mar 2009
    Posts
    55

    Re: how to differentiate self-sign and symbian sign

    Quote Originally Posted by mateen_maldar View Post
    Hi,

    you can differenciate the application is selfsigned or symbian signed..

    Self signed uids have the general capabilities where are symbian signed have mostly the protected uids range.

    use tools like siscontent etc to know what exactly is there in the sis file..
    http://symbiandev.cdtools.net

    Regards,
    Mateen Maldar
    thanks for ur reply! do u mean i can realize my thought through checking uids? it makes sense... but there's another question: if an uid is in the protected range, then it's symbian signed of course; but if it's not in that range, we can't say for sure whether it's self signed or symbian signed, right? and can u give a more concrete description?
    Last edited by snakeninny; 2009-07-17 at 10:22.
    Regards
    snakeninny

  9. #9
    Regular Contributor
    Join Date
    Mar 2009
    Posts
    55

    Re: how to differentiate self-sign and symbian sign

    Quote Originally Posted by skumar_rao View Post
    AFAIK you can't read sis content in your code for that you might need internal APIs, if you really want then you have to create support case with Forum.Nokia.
    i see, thanks!
    Regards
    snakeninny

  10. #10
    Regular Contributor
    Join Date
    Mar 2009
    Posts
    55

    Re: how to differentiate self-sign and symbian sign

    Quote Originally Posted by wizard_hu_ View Post
    Do you have something that you want to achieve?
    Anyway, a simple check could be glancing at the UID. If it is from the protected range, the app can not be a self-signed one.
    Otherwise yes, there is an internal API for getting information about installed applications, you can probably get it via API partnering.
    the same doubt as i mentioned before: if an uid is in the protected range, then it's symbian signed of course; but if it's not in that range, we can't say for sure whether it's self signed or symbian signed, right? so can u offer a more explicit method?
    Regards
    snakeninny

  11. #11
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,673

    Re: how to differentiate self-sign and symbian sign

    What do you want to achieve?

  12. #12
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: how to differentiate self-sign and symbian sign

    but if it's not in that range, we can't say for sure whether it's self signed or symbian signed, right?
    Not true. You can not sign your application with certified/express signning if your UID is not in protected renge.

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,673

    Re: how to differentiate self-sign and symbian sign

    Hmm, Savaj is right. Check-09 and Check-13 would both fail - I have not noticed that so far.

  14. #14
    Regular Contributor
    Join Date
    Mar 2009
    Posts
    55

    Re: how to differentiate self-sign and symbian sign

    Quote Originally Posted by savaj View Post
    Not true. You can not sign your application with certified/express signning if your UID is not in protected renge.
    thank u, wizard_hu_ and savaj!but i don't quite get u. do u mean this: if my UID is in the protected range, then it's definitely symbian signed; or if UID is not in the range, then it's definitely self-signed ?please give a more concrete explanation about the relationship between UID and signing, thanks!
    Last edited by snakeninny; 2009-07-18 at 01:54.
    Regards
    snakeninny

  15. #15
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,673

    Re: how to differentiate self-sign and symbian sign

    You can get the test criteria from http://www.symbiansigned.com

Similar Threads

  1. Replies: 8
    Last Post: 2009-10-16, 07:24
  2. Question abt symbian Sign
    By swapnilb83 in forum Symbian
    Replies: 4
    Last Post: 2009-05-05, 08:47
  3. Symbian Open Sign fails with Carbide 2.0...
    By nital_shah in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2009-02-24, 06:34
  4. sign in for symbian UIq
    By kaviversha in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2008-09-24, 09:26
  5. If symbian go to open source, Will you cancel sign symtem?
    By mzkapoo in forum General Development Questions
    Replies: 6
    Last Post: 2008-06-30, 16:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×