How is the SHA hash for a generated module?

Hello

I was wondering if someone had more information about the CodeModuleManager.getModuleHash () method?  The API says:

"Returns the algorithm SHA hash in a module."

I've used it before and it gives me what looks like a SHA1 hash.  The only problem is, I'm not able to reproduce this hash by generating a SHA or SHA1 hash using my computer.

For example:

If the BlackBerry gives me 02A826682116ED6A7B9B4429CAAFD2DF198A29F7 for the net_rim_app_manager module, running the same .cod file does not provide me with a corresponding number:

azazel:tmp sheran$ openssl sha net_rim_app_manager.cod SHA(net_rim_app_manager.cod)= 03804aa899166d0eed95ddf3a758446c2159ee4b

azazel:tmp sheran$ openssl sha1 net_rim_app_manager.cod SHA1(net_rim_app_manager.cod)= 7feebefdad9a39d98c70d0282cca935fd2dc55fe

My questions:

1. How did this hash generated for a specific module?

2. how the calculation would be different for a module with many brothers and sisters?

Thank you

Sheran

The tail of each signed module is a list of signatures. When you calculate the SHA-1 hash, you must exclude this part of the binary file to hash.

When a module is composed of several modules, it is in fact a ZIP file. Each ZIP entry that contains a module (brother) has its own hash and signatures. Easiest way to test this is to decompress the. COD file and calculate the values of the hash for each file.

Tags: BlackBerry Developers

Similar Questions

  • I am a member creative cloud. I want to install the same applications from my laptop to my new desktop computer. I need to purchase another license? otherwise how do the same thing for my new desktop computer

    I am a member creative cloud. I want to install the same applications from my laptop to my new desktop computer. I need to purchase another license? otherwise how do the same thing for my new desktop computer

    I have it! Thank you

  • How update the payment information for Windows Live services?

    Original title: payment to the window Live Services

    I received your message updated my credit card to pay for windows live. I followed the link. I went to 'Payment Type' but it has no connection with the update of credit card, is it has codes that shows specific period and each period shows no activity for us. How to upgrade your credit card information so that we can make.

    More far away why are you keeping it so confusing for one single payment? I am pasting the message that I received from windows live that doesn't work not as indicated: -.

    To view or change your billing account, go to https://billing.Microsoft.com , then select one of the following options:

    • To update payment information, click on link of payment under "Type of payment" on the next page, click on 'Go to payment method information' and on the next page, click "Edit payment method information.
    • To view a statement for a payment method, click the method of payment under "Type of payment".

    Thank you

    Dushyant Parikh

    Hello

    The question you have posted is better suited to the Windows Live community. I suggest you to send your application in the Windows Live community on this link.

    http://www.windowslivehelp.com/

  • How change the default resolution for windows to use when the monitor is not connected

    Hi, how can I set the resolution by default that windows uses when the monitor is turned off or not connected at all? My problem is that normally I use 1920 x 1080, but when I put the pc to sleep or just turn monitor and leave it like that for a while with a few app maximized, when I get back and turn the monitor on the resolution is correct but the enlarged window is resized to 1024 x 786 resolution. I tried to change in the registry DefaultSettings.XResolution a DefaultSettings.YResolution in all instances and it worked fine for a long time. Then some update that happened and now it no longer works. I reinstalled the system, but it still does not. How can I force windows to use always the 1920 x 1080?

    It seems that TMM disabling did the trick. Maximized windows are not yet moved to the left edge of the screen, well, those who have been maximized is maximized correctly as they should. I had to disable TMM through registry as I had no MMR in Task Scheduler.

    If anoyone is interested I've followed the instructions described here:

    http://superuser.com/questions/120983/how-to-disable-monitor-auto-detection-in-Windows-7

  • How interrogate the EM repository for a list of targets that have no targets defined properties and therefore will not be members of groups identified by the hierarchy of administration.

    Hello

    Asked me to do in control cloud 12 c,

    ""Repository queries EM to get the list of targets that did not target defined properties and therefore will not be members of groups identified by the hierarchy of administration.".

    and I was looking for more information on how to do it but I can't find anything on the repository tables, and I can't find how to get this cloud control options.

    Thank you

    Matt

    Management Group page, go to the Associations tab and click the target report unassigned

  • How do the CC version for new features?

    When I subscribed to CC for photographers, I already had a 'box' LR 5 installed and has a serial number. All subsequent updates have continued to use this license.

    But now I find that I'm missing out on LR 5.5 new features, that do not appear in my version. How can I get my computer to forget that I ever had a serial number and use my CC account rather to install and run LR 5.5?

    Thank you

    Brian

    I know that these features, but they are cab only. Maybe someone uses LR5 CC can verify, but I'm sure that's not in LR5. See the note accompanying LR, CC or not, he's not here.

  • How do the dictionary synonyms for words that are spelled correctly

    I send E-MAILS and spell checker asks if I would like to change the words, but I can't find a way to add them to the thesaurus. How can I do this?

    It would "add to Dictionary", not add to the thesaurus.

  • Qosmio X 70-how use the GPU nVidia for external monitor

    Hello guys,.

    Can I use my card for an external monitor, BenQ Xl2420t geforce?
    Vga and hdmi only goes for the graphics card intel

    Try to solve this sequel to this workaround:
    Start Notepad in safe mode and uninstall the Nvidia driver.
    Then restart and reinstall the driver again.

    Some people have been able to solve this problem, but don t tell me why it worked, but it did.

  • How do the smaller font for printing on a printer wireless from an ipad with ios v9.2?

    I have a mini Ipad.  I have files in the Notes I want to print on a HP 4635 while a printer using airprint.  When I print the file, the font is too large.  I would like to know how to make the font smaller when I print on the printer.  My ipad is updated with IOS v9.2.

    I think that the notes application will print in the font size regardless of your iPad is on. Before you print, go to settings > General > accessibility > and change under a larger text size. -AJ

  • How do the dynamic set for the PID control point

    Hi all

    Here, I have a question about regulation PID setpoint. Now, I've built a program in which the vi PID setpoint. may not be a constant. But I want to improve the program by allowing the set to be dynamic, saying the dynamics, I want to say maintaining the setpoint change over time, it could be like a sine wave, or better could be a custom shape. Could someone tell me how to fill that?

    Thank you

    CJ


  • How make the visible context for nodes in the level menu gave treeTable?

    Hello

    I use JDeveloper 11 g 10.1.1.4

    I have a TreeTable component with 4 different levels (Contry-branch-city-object).
    I need to show the custom menu contextual (right-click the Muse) items only for lines with 'object '.
    Now, I do it with the help of the "visible" property
                <af:commandMenuItem text="Open" id="cmi1" immediate="true"
                                    visible="#{backingBeanScope.mbMObjectsRegistry.MObjectNode}"
                                    actionListener="#{backingBeanScope.mbMObjectsRegistry.btOpenMObject}"/>
        public boolean isMObjectNode() {
            Object oldRowKey = treeTableMObjectsRegistry.getRowKey();
            try {
                AppViewRowImpl row =
                    BindingUtils.getSelectedRowTreeTable(treeTableMObjectsRegistry);
                if (row == null || !isMOBjectRow(row)) {
                    return false;
                }
                return isMOBjectRow(row);
            } finally {
                treeTableMObjectsRegistry.setRowKey(oldRowKey);
            }
        }
    
        private boolean isMOBjectRow(AppViewRowImpl row) {
            return (row != null) && (row instanceof MObjectsRegisterMORowImpl);
        }
    It works, but the problem is that it works a little more slow, particularly if I have 5 or more menu items.
    Each menu item called the isMObjectNode() metod 3 times by opening the menu.

    The question is: maybe, there is a method to calculate the level of the selected node? Or there is another variant?

    Anatolii

    The following example allows you to develop your usecase.
    Here, we would show the menu items only for the nodes of level 3.

    You can also download all of the POJO from sample to
    http://adfsampleapplications.googlecode.com/svn/trunk/TreeSampleApplication.zip

    The code is self-explanatory.
    Let know, if you have any specific questions.



    selectionListener = "#{bindings.continents.treeModel.makeCurrent} '"
    rowSelection = "single" id = "tt1" columnStretching = "last" >








    **
    **
    *
    * to = "#{pageFlowScope.CurrentDepth}" *.
    * Type = "popupFetch" / >. *
    **
    *
    * visible = "#{pageFlowScope.CurrentDepth == 2? true: false}" / > * "
    *
    * visible = "#{pageFlowScope.CurrentDepth == 2? true: false}" / > * "
    *
    *
    *
    *
    *
    *

    Thank you
    Nini

  • How to write a period for pulse generator?

    Our pulser (composer of Quantum 9514) reads ULSE0ER... only integers, so I couldn't write decimal periods with hyperterminal or of NEITHER. What is a problem?

    I suggest you turn on also OR spy to see what is actually sent. If it matches what you send in Hyperterminal and corresponds to the format contained in the manual of the instrument, it would be time to contact the seller of the instrument.

  • How update the billing information for CC?

    Hi all

    I don't know what else to do. I can't have full access to the features of Adobe. I am a member of comprehensive plan. I have access to all the programs, but my storage quota shows that 2 GB, instead of 20 GB. I work on two computers and cannot sync my work because it reads I've exceeded my quota.

    If I check my billing information, it displays two different plans. One expired terms of photography and a full member. Initially I had the intention of improving the photography to full membership. Instead, they began to double billing me. They canceled a plan to freedom of membership, who wrote my billing information. In all systems, I show as a free member even though I have and must have access to all applications.

    I contacted this service of cat off the coast, but they have not resolved my problem and so far had made things worse. (I can't cancel either plan on my own.)

    I'd appreciate your comments, suggestions and others. I enclose some screenshots.

    01.PNG

    02.PNG

    03.PNG

    04.png

    05.png

    To update billing please contact customer service

    You can use: http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • How long the alarm does not sound on clock iPad app?

    Hello

    I use my iPad clock app, and I was wondering how long the alarm sounds for if I don't stop it manually.

    Also, is there a way to set his time limit?

    Thank you

    Chris.

    Based on the few times wherever I slept too long by ten to thirty minutes, I think it rings less than thirty minutes and more than five minutes.

    Good day.

  • Showing the letters highlighted for the keyboard navigation in vista ultimate.

    How display the letters highlighted for the keyboard navigation in Vista view ultimate permanently as you could in XP pro, (display properties - effects - uncheck to hide a letter underlined for the keyboard navigation up to what the alt key).

    In vista, you can show them with the ALT but that works only for the top pull down for menus not on the right button of the mouse popup menus.

    Hi 3DPC27,

    Welcome to Microsoft Answers Forums.

    By pressing the keys corresponding to the letters highlighted in the menus, commands, or options dialog box, you can quickly select options using the keyboard rather that the mouse. If they are not already displayed, you can choose to show the letters highlighted for the keyboard navigation and input (rectangles dotted around objects) indicators to navigate in Windows, generally with the ALT, TAB, or arrow keys.

    Note access keys and keyboard shortcuts
    http://www.Microsoft.com/enable/training/windowsvista/accesskeys.aspx

    You can adjust these settings on the brand the easier to use page in the accessibility of the keyboard.

    1. open the brand of the keyboard easier to use page by clicking the Start button, clicking Control Panel, on ease of access, clicking Ease of Access Center, and then click make the keyboard easier to use.

    Facilitate the use of the keyboard
    http://Windows.Microsoft.com/en-us/Windows-Vista/make-the-keyboard-easier-to-use

    Make your computer easier to use
    http://Windows.Microsoft.com/en-us/Windows-Vista/make-your-computer-easier-to-use

    Transcript to make the keyboard easier to use demo
    http://www.Microsoft.com/enable/demos/windowsvista/trans_keyboard.aspx

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for