Signature of the .cod with custom key file files

Brand new on-site development of BlackBerry (2 weeks in)-so please forgive me if this is in the wrong place.

I am currently using the CodeSigningKey and the DatabaseFactory.encrypt for an application that I developed that will use a database.

I'm a ControlledAccessException during an attempt of the DatabaseFactory.encrypt with the key that I provided. I think it's because I didn't sign my files with the file ___.key *.cod correctly.

I use sqlitedemo as a guide files, and in the comments he mentioned that I need to create my own pair of public/private key using the administration of BlackBerry signing authority tool - I did. The question I have is when packing my request in the BlackBerry Java plug-in for Eclipse, sign tool is running and said that this particular key file is not saved with a server.

I found documentation on signing here:

http://docs.BlackBerry.com/en/developers/deliverables/1077/BlackBerry_Signing_Authority_Tool_1.0_-_p...

And this guide mentions that I can use a tool of file signature to sign the *.cod file manually so that I don't have to worry about set up a server, as long as I know the private - key password what I do. Is it still possible to use such a tool? And if so - where could I find one for a Mac environment (I can run on Windows, if necessary (I did to generate the key file), but I prefer to keep everything on a single machine).

If this is not the case - there - it an easy way to configure the server and a better guide illustrating how to put in place the signature tool so that the keys are registered with my server?

Thank you very much for your help

Hi Mark,

Thanks for the reply!

While it's an excellent resource it unfortunately not answered my question. Like all other documents that I linked earlier, this resource talks in Task 4, step 2 of:
'Start the application file signatory in the administration of BlackBerry signature tool '.

I had downloaded and installed the BlackBerry Signing Authority tool a few times (it installs really as "BlackBerry password based code signing), but never found dittos application sign. On a whim, I went into the folder, it was installed and just started running all *.exe that I could find. Finally, it is of the 'SigningAuthorityAdmin.exe' and 'SigningAuthority.exe '. The first will create the key, the second is the tool of "file signatory."

Hope that will help everyone in the future that awaits the names is compatible...

Edit: I have not found the Mac environment anywhere... so I assume that there is not.

Tags: BlackBerry Developers

Similar Questions

  • Pages of the OPS (with custom controller) does not not in the R 12.2.4 upgrade custom

    Hi all

    There is a problem, I'm dealing with my custom page. I am trying to expand the controller with my custom class, but get the error below

    oracle.apps.fnd.framework.OAException: could not create Java class: (oracle.apps.xxar.cusstd.createcus.webui.xxArCreCusCO) associated with the area: (ArUtilRN). It is probably because the class name is incorrect or not included in the project.

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)

    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2848)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1991)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    If the file is present in the right folder

    [webui applmgr@gfs3devapp1] $ pwd

    / opt/oracle/gfs2d/FS1/EBSapps/COMN/java/classes/Oracle/Apps/xxar/cusstd/createcus/WebUI

    [webui applmgr@gfs3devapp1] $ ls - ltr

    Total 4

    -rw - r-. 1 applmgr oinstall 1177 Feb 25 10:17 xxArCreCusCO.class

    I have to follow this discussion, but is not help me: https://community.oracle.com/thread/3647610

    Please help.

    Thanks, Jerome

    Hello samia,.

    In R12.2.4, you will need to create the jar with custom classes. Please visit the Doc ID 1577661.1

    Hope this helps you solve your problem.

  • How to fill a field of electronic signature in the form of interactive PDF file (created in Indesign)?

    How to fill a field of electronic signature in the form of interactive PDF file (created in Indesign)? This form will serve as an application on a Web site. The goal is to have access to anyone (interested to apply for a job via Internet), fill out and electronically sign the form on presentation.

    Please follow the steps and let me know if this helps

    1. Open the PDF in Acrobat
    2. Click on tools in the upper right > select Forms > click on edit
    3. It would ask you if you want to make changes, select Yes
    4. Then it will give you options to add a Signature field on the right side of Acrobat
    5. Add the field and save the form
  • Signature of the app with the WebWorks SDK generates no COD files

    Hello

    I'm trying to sign my application after this documentation: https://developer.blackberry.com/html5/documentation/signing_your_smartphone_app_1919664_11.html

    After running:

    bbwp C:\myapp\HelloWorld.zip -g mypassword -o C:\myapp\signed
    

    Windows (by replacing the values with mine of course), I get only a .bar file and no folders OTAInstall and StandardInstall.

    Furthermore, I don't receive any email from RIM authorized signatory.

    A thinking about it?

    Thank you

    Chris

    Yes - all you need is a BAR file. Here are the instructions to sign your application BB10:

    https://developer.BlackBerry.com/HTML5/documentation/signing_your_bb10_app_2008398_11.html

  • Change the VM with custom attributes defined in a CSV file

    Hi all

    I'm doing something that I think should be simple (but this is the first time I used powercli and am not a good code writer), but I find it hard to tell.

    I created 2 custom attributes (owner and owner of the SSG system) in vCenter for my virtual machines.  I have a list of vm names csv and their associates "owners".  I would use powercli to read the csv file and connect to the VC server and the 'owners' of entry in the appropriate field.

    I borrowed com code from various places on the internet and these forums but I can't seem to make it all work.  I managed at least to read the information in the csv file and is displayed on the screen of my laptop.  What I can't do is get 3 columns in the csv file to be recognized as variables (unless there is some default variables I don't know) I can put in the game-Annotation lines.

    The code I have is:

    # Input range, includes all IBD VM names that are registered.
    $data = import-Csv "C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI\scripts\vmowners1.csv"-Header ('Hostname', 'Owner', 'SSG owner')
    # $data | Get-Member
    Write-Output $data
    # Loop over all the VMS in vCenter
    ForEach ($row in $data)
    {
    # Create variables for the current virtual and its 'Contact' and 'Description' computer that are custom attribute fields.  Also create a $note string to use Set-VM-Description
    $hostname = get-VM-name $vmname;
    # $contact = $vm | Get-Annotation CustomAttribute - user;
    # $description = $vm | Get-Annotation - CustomAttribute Description;
    # $note = $contact.name + ":'t" + $contact.value + "' not n" + $description.name + ":'t" + $description.value;
    Set Annotation - entity $hostname - CustomAttribute "Business system owner" - value $SSG_owner
    Set Annotation - entity $hostname - CustomAttribute "SSG system owner" - value $system_owner
    # Set - VM - VM $vm - $note Description - confirm: $false;
    }

    The result, I get on my screen is:

    PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI\scripts >.\setvmownership.ps1

    Owner of the company that owns SSG host name

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

    ABPPROXY-00-AH

    ACE-01-AH hung Laallmmi hung Laallmmi

    Get - VM: could not validate the argument on the parameter 'name '. The argument is null or empty. Provide an argument that is not null or empty, and then try the AGM of the order

    in.

    To C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI\scripts\setvmownership.ps1:13 char: 29

    + $hostname = get-VM-name < < < < $vmname;

    + CategoryInfo: InvalidData: (:)) [Get - VM], ParameterBindingValidationException)

    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVM

    Set Annotation: Impossible to validate the argument on the parameter "entity". The argument is null. Supply a non-null argument, and try the command again.

    C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI\scripts\setvmownership.ps1:17 char: 23

    + Set-Annotation - entity < < < < $hostname - CustomAttribute "Business system owner" - value $SSG_owner

    + CategoryInfo: InvalidData: (:)) [game-Annotation], ParameterBindingValidationException)

    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.SetAnnotation

    Set Annotation: Impossible to validate the argument on the parameter "entity". The argument is null. Supply a non-null argument, and try the command again.

    C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI\scripts\setvmownership.ps1:18 char: 23

    + Set-Annotation - entity < < < < $hostname - CustomAttribute "SSG system owner" - value $system_owner

    + CategoryInfo: InvalidData: (:)) [game-Annotation], ParameterBindingValidationException)

    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.SetAnnotation

    Get - VM: could not validate the argument on the parameter 'name '. The argument is null or empty. Provide an argument that is not null or empty, and then try the AGM of the order

    in.

    To C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI\scripts\setvmownership.ps1:13 char: 29

    + $hostname = get-VM-name < < < < $vmname;

    + CategoryInfo: InvalidData: (:)) [Get - VM], ParameterBindingValidationException)

    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVM

    Set Annotation: Impossible to validate the argument on the parameter "entity". The argument is null. Supply a non-null argument, and try the command again.

    C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI\scripts\setvmownership.ps1:17 char: 23

    + Set-Annotation - entity < < < < $hostname - CustomAttribute "Business system owner" - value $SSG_owner

    + CategoryInfo: InvalidData: (:)) [game-Annotation], ParameterBindingValidationException)

    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.SetAnnotation

    Set Annotation: Impossible to validate the argument on the parameter "entity". The argument is null. Supply a non-null argument, and try the command again.

    C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI\scripts\setvmownership.ps1:18 char: 23

    + Set-Annotation - entity < < < < $hostname - CustomAttribute "SSG system owner" - value $system_owner

    + CategoryInfo: InvalidData: (:)) [game-Annotation], ParameterBindingValidationException)

    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.SetAnnotation

    The CSV file looks like this (but continues for about 500 VMS):

    I go with the option import-csv because that said something that I read in my troubleshooting efforts would empty columns and error I received and that import-csv correctly would intrepret in empty columns.

    hostname, business_owner, system_owner,

    ABPPROXY-00-AH,

    ACE-01-AH, James Laallmmi, James Laallmmi,

    acrodev-00-ah, tflessa, Bruce Hastings,.

    ACT1DDB00AH, Bill Mancini, Mike Bruni,

    ACT1TDB00AH, Bill Mancini, Mike Bruni,

    What should I do to be able to get this script to work? I don't know that it is related to messages "argument is null." that we see in the output.

    Thank you

    Dan

    Hello, dscottimw-

    You were on the right track.  There were a couple of things to change to make it work as you want:

    1. either remove the "-header" part of the Import-Csv line or delete the actual header of the CSV itself - these are elements in conflict (the "-Header" param names of the columns in the CSV and assumes that the CSV file has already no header row)
    2. you need to access the properties of the $row variable in the ForEach loop - not only call the names of the CSV column headers (this is why you may receive errors on things 'null' - whether you use variables that have no value)

    Try this:

    # Input array, includes all VM names from DCI that are registered.$arrVMsInfo = Import-Csv "C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\scripts\vmowners1.csv"#Write-Output $data
    
    ## loop through all VMs listed in the CSV, setting custom attrib values for eachForEach ($row in $arrVMsInfo) {    ## get the VM for this row    $vmThisOne = Get-VM -Name $row.hostname    Set-Annotation -Entity $vmThisOne -CustomAttribute "Business System Owner" -Value $row.business_owner    Set-Annotation -Entity $vmThisOne -CustomAttribute "SSG System Owner" -Value $row.system_owner} ## end foreach
    

    And, to give it a shot without actually play the game on annotations, to make sure things go as you like, you could add a - WhatIf to each line in Set-Annotation in the ForEach loop.

    Which works better for you?

  • admin password, disable the system with a key: 81444456

    I need help please! When I turn on my HP laptop it asks me a password for admin and I clearly don't know. After 3 attempts I get a system disabling with a key: 81444456

    What should I do to unlock it? Any help?

    Hello

    use the code to reset below

    34522498

  • Tecra S11 - change the resolution with FN keys gives an error

    Hello

    When I change the resolution of the screen with FN + space key combo, then background turns white and the icons on the desktop disappear. Windows 7 Professional / Tecra S11

    When you try, after FN + space press WIN + D (see the "D" esktop) combo and white background will appear.

    It's a Toshiba sw related issue or Win7

    Thank you

    Hi petersm,

    You may notice the behavior even if you change the screen resolution by using the options of the display driver?

    Maybe you need to reinstall Toshiba added value Pacakge that controls the FN keys

  • TestStand fails to use the application with custom user settings

    Hello

    For a project of teststand, I use a .net application that uses a custom settings provider. The problem is that whenever he tries to use one of the teststand user settings, the application returns an exception:

    "Unable to load the provider type.

    I tried to illustrate the small demo project that I have attached.

    The .net application I call of test bench is AppWithUserSetting, and is one of the steps in the q.seq file in sequence to get a value from a user setting. That's where it crashes for me.

    On the other hand, if I instantiate the same objects and read the same setting from another application .net (DoLikeTestStandApp), everything is fine.

    Note that in the AppWithUserSetting settings.designer.cs file, a custom line has been added ([total:ystem.]) Configuration.SettingsProvider (typeof (AppWithUserSettings.UserAppSettingsProvider))]) to force the program to use the custom SettingProvider. And that's where it fails when loading teststand.

    No idea why? Right now, I'd rather not remove the use of this settingProvider custom because it will keep the settings of the user even when the upgrade to a different version of AppWithUserSettings.

    Thank you and best regards,

    Loïc

    PS: I use studio VS 2008 SP1 and Teststand 4.1.1

    Loïc-

    Like Doug mentioned, you are running in an issue similar to that of the other forum thread, he did. I went ahead and implemented workaround for this problem in your example and attached it below.

    I hope this helps. Let me know if you have any questions.

  • create the code with this code snippet

    I'm curious...

    I can't create a snippet of code with this code. (located in the first post)

    http://forums.NI.com/T5/LabVIEW/event-structure-with-value-changes/m-p/1937505#M646059

    However, I can create excerpts of its subsections.

    Tried different versions of LabVIEW with the same result.

    Can someone create a snippet?  Just curious.

    I'm not stuck or anything... just curious...  Maybe I should have posted the breakpoint...

  • Change the attributes of the camera with a .ini file

    Hello.

    I would change some attributes of camera through an INI file, before you run the User Interface.

    The problem is that when I view the values of the modified attributes, they are not changed: it's always the same values as in the case of camera NIMAX.

    In fact, I've logged IMAQdx with IMAQdxOpenCamera, then I loaded the Camera.ini value for the attributes of the camera, and finally, I closed the session with IMAQdxCloseCamera.

    I can't wait to see your ideas!

    Thomas1330

    Hello

    in fact, I solved the problem.

    I used the following function: IMAQdxReadAttribute (session id, ini_pathname)--> only the attributes in the .ini are changed in the file of the camera until I close my program

    Thomas1330

  • replace the recovery with my own file

    OK, I own a HP Pavilion dv6 laptop and after installing all my programs after just after crossing a recovery incident... I was wondering what type of file this file recovery is... and if I could replace it with my own... so that the method of quick recovery F11 would continue working... it would be a great time saver!

    Moreover, would the recovery dvd that came with this work laptop on my Pavilion from HP desktop that I have bought at the same time as the laptop...

    Hello

    System recovery files is specific to HP, then you will not be able to replace it with your own files. And you will not be able to use the recovery disk to one system over another, since his own in this particular model. So if you need to reinstall the operating system on your desktop, then you can use the recovery partation which will be available in all systems, if it is not deleted. If its deleted, then you must purchase the HP recovery disk.

  • How to reset the file input form after submitting the form with an ADF file

    I use oracle 12 c. I have a form where I have 3 fields and an af:inputFile where I need to download the file and the final backup.

    I can't use for inputFile valueChangeEvent because if I user ResetUtils then I won't get the invalid entry form.

    On record everything works fine but when I add once again a record then the last file update still shows in inputFile (its not reset).

    After save if I set the binding of the null input file then do partial trigger for the component by using its page load Binder takes a huge time to save so I can't use it.

    Here is my code

    < af:panelFormLayout id = "pfl1" rows = "3" >

    < af:inputText value = "#{bindings." Filename.inputValue}"label =" #{bindings. " Filename.hints.label}.

    required = "#{bindings." Filename.hints.Mandatory}.

    columns = "#{bindings." Filename.hints.displayWidth}.

    maximumLength = "#{bindings." Filename.hints.Precision}.

    shortDesc = "#{bindings." Filename.hints.ToolTip}"id ="9 ".

    contentStyle = "width: 150px" showRequired = "true" >

    < f: validator binding = "#{bindings." Filename.Validator} "/ >"

    < / af:inputText >

    < af:panelGroupLayout id = "pgl350" layout = "horizontal" >

    < af:inputFile label = "Select" id = "if51" value = "#{ContractDocumentUploadDwn.file} '"

    showRequired = "true" binding = "#{ContractDocumentUploadDwn.inputFileBinding}" / >

    < af:button text = "Upload" id = "b353" action = "#{ContractDocumentUploadDwn.uploadPortfolioDoc}" / >

    < / af:panelGroupLayout >

    < / af:panelFormLayout >

    Java code:

    {} public void savePortfolioDoc (ActionEvent actionEvent)

    Add the code in the event here...

    DCIteratorBinding iter = getDCIteratorBinding ("portfolioDocument1Iterator");

    UploadedFile myfile = this.getInputFileBinding () .getValue () (UploadedFile);

    String link = "Commit1";

    String popUpId = "p2";

    genericSaveDocuments (actionEvent, iter, myfile, lie, popUpId, "Portfolio"); Saves the document

    iter.executeQuery ();

    ITER. Refresh (1);

    setInputFileBinding (null);

    ResetUtils.reset (actionEvent.getComponent ());

    }

    Please help me

    See this line in your code

    You use a variable as the inputFile value so you must set its value to null

    Write like this-

    this.setFile (null);

    Reset the inputFile component after download

    ResetUtils.reset (inputFileBinding);

    Ashish

  • How can I organize the code with frameworks?

    Hi all

    I try to make a very simple game but I have a question. You give me a hand, please?  I'm not from English pregnant, so I hope you get my question

    My game consists of several levels (a level on each image). Each level (or each image) consists of white walls, a green ball, a colored star and a touch of yellow... as you can see in the picture. The green ball should pass between the walls without knocking, and he must press to pick up. When the key is collected, a wall will disappear while the ball can reach for the stars, then a player wins. When the ball hits one of these walls a game more than message appears.

    Each image has a different number of walls and every wall is a clip on the main stage. The walls are not inside a container or something like that. The names of occurrence of the walls are wall1, wall2, wall3... and so on.

    I also have a layer for action script and I wrote the following code:

    If (player.hitTestObject (wall1) | player.hitTestObject (wall2): player.hitTestObject (wall3): player.hitTestObject (wall4))

    {

    trace ("second try");

    gameOver.visible = true;

    doThisFn = false;

    }


    This works for executives who has wall1, wall2, wall3 and wall4.

    Wall4 (for example) does not exist on frame 3 (for example), an error said: "' #2007: hitTestObject parameter should be null. '"

    My question is, how to organize the action script layer and managers so that the error does not occur?


    I thought of an idea that must make a copy of wall4 on layer 3, and I'm going to put wall4 in a place where the user will not see it. I don't think it's a good solution.

    I had another idea, I'll do several keyframes (press F6) on the action script layer. and I'll modify the code of each keyframe in a way that the walls which lie in the IF statement mach walls on each image. but it will take a lot of effort!


    Suggest a more intelligent solution, please? such as a For loop or a table... I do not know how?
    Thanks in advance,

    flash.png.

    You can initialize an array, for example,

    var wallA: Array = [];

    for example, reset it on each image,

    wallA.length = 0;

    Fill it on each image, for example,

    for (var i: int = 0; i<>

    {if (this ['wall' + i])}

    wallA.push (this, ['wall' + i]);

    }

    and then use this table in your hittests, for example

    function wallHitTestF (): Boolean {}

    for (i = 0; i<>

    {if (Player.hitTestObject (wallA [i]))}

    Returns true;

    }

    }

    Returns false;

    }

  • Engineering problems the surrogate with Unique key primary key

    SDDM 3.3.0.747 with 2 problems (at least so far).  I hope that the problem comes from this recruit SDDM and I forgot a setting. PROBLEM 1 I don't want to start a religious debate on substitution vs natural keys but I'm having a problem correctly both the logic model of engineering.  I'm a rookie when it comes to SDDM but have many years of experience with the Designer. By default, only I wish I had a natural UID (UK) and a surrogate mother based on a primary key UID (PK) which is used for foreign keys.  The problem I have with engineering is I can successfully engineer the substitute PK, engineer of the FK with the PK, but cannot get the unique key to contain surrogate keys in the child table.  If I check the identification property in relationships, the PK columns and the UK are included in the child PK and the United Kingdom contains no columns. The installation program, I've defined two reference entities, PROBABILITY and GRAVITY with unique keys natural defined.  I also have a child entity RISK_ASSESMENT with links to entities of the PROBABILITY and SEVERITY and both have the "use surrogate keys:": check box selected.  The unique key of the entity RISK_ASSESMENT includes links to PROBILITY and GRAVITY.  None of the entities have a PK or replacement of the defined keys and they all have the checkbox "Create a surrogate key" checked.  In addition the following preferences are defined: Data Modeling/model/logic NO checked - use and the first Unique key as primary key value NOT checked - name - Keep under the name of the from attribute Checked - entity carrier to create controlled key - use surrogate PROBLEM 2 key relationship when the foreign key columns are engineered I want names have a prefix 'FK_"but they don't.  Models are defined as follows: Data Modeler/assignment of Standard/Templates Foreign Key name: FK_ {children} {parent} foreign key column: engineer FK_ {Ref column} relational model/General checked Options - translation name Marcus Bacon apply

    Once more, I designed without removing anything and still no FK to the United Kingdom of the child.

    There is a synchronization problem in DM 4.0 EA1. This will be fixed for the production version.

    Philippe

  • Windows DVD Maker Gets the error with a .avi file - the file C:\\...avi is not valid or is corrupted.

    I try to use Windows DVD Maker and copy/convert a file .avi on a DVD and get the following error message when I try to add a .avi file to the queue.  I tried this on multiple .avi files:

    ****************************************************

    0 items added successfully

    1 file could not be added

    The C:\\...avi file is not valid or is corrupted.

    ****************************************************

    Also, I must stress that I have no problem looking at one/play the file on my computer, so I don't think that the file itself is really corrupted.

    I have not downloaded another software to help 'fix' this problem.

    This is my first time you try to use this software to create a DVD...

    Please advise on what I can to help resolve this problem!

    Thank you-

    Hi KK33,.

    I suggest you try the steps suggested by Irfan H, from the following link and check if it helps:

    Invalid or damaged AVI

Maybe you are looking for