Sign your repackaged apps
Before you can distribute your applications on the BlackBerry World storefront, you must first sign them. The signing process adds cryptographic hash values to your BAR files that help verify the authorship of your application to users and the BlackBerry Tablet OS or BlackBerry 10.
In this task, you'll use the batchbar-signer tool to sign multiple BAR files in a single batch process. You'll find batchbar-signer in the bin subfolder where you installed the BlackBerry Tools SDK.
Before you begin: Make sure you have configured your computer to sign applications. For more information, see Configure your computer to sign apps and create debug tokens.
- Save all files that you want to sign in the same directory. The batchbar-signer tool will ignore all files in subdirectories.
- On the command line, change to the bin subfolder where you installed the command line tools.
batchbar-signer tool using the following syntax:
batchbar-signer <input_files> <developer_certificate> <keystore_password> [<csk_password>] [-t <output_folder>]
This table explains the values the of the arguments used in the above syntax.
This argument specifies either an individual unsigned BAR file, or a folder that contains one or more unsigned BAR files. Do not provide a folder that contains subfolders.
This argument specifies the location and file name the developer certificate you created when you configured your computer to sign applications.
This argument specifies the password you defined when you created a developer certificate.
This argument specifies the password you defined when you configured your computer to sign applications.
This argument specifies the folder where the batchbar-signer tool saves the signed BAR files.
If, the batchbar-signer tool cannot sign one of the source BAR files, the tool logs the issue, but continues to sign the rest of the applications.
You are now ready to add your signed BAR files to the BlackBerry World storefront for distribution.