5.7.18. Configuring Applet Features

This tool is used to configure the applet for different variants, i.e. Variant A, Variant B and Variant C. Note that this tool only enables or disables the features according to the configured variant, it does not alter the variant itself. The tool should be compiled with ECKey encryption, and optionally PlatfSCP03 encryption also. You would need to provide a command line parameter for ECKey key to be used, and an environment variable for your own Platform SCP03 keys, if required.

5.7.18.1. Configuring ECKey key for command line

This example takes as a command-line input, the filename in which ECDSA key is stored. The key should be stored in .der (binary) format only. If the available key is in .pem format, it can be converted into binary format using OpenSSL command-line utility. Refer to OpenSSL Commands for more information on how to convert .pem formatted file to .der formatted file.

5.7.18.2. Configuring Environment for PlatfSCP03 Keys

If you do not wish to use Platform SCP03 encryption, skip to the next step.

To use your own platform SCP03 keys, refer to Section 11.10 Using own Platform SCP03 Keys on details on setting up your environment.

5.7.18.3. Using with PC as host

  1. Flash the VCOM binary present in binaries directory on to the target board.

  2. Note the VCOM COMPORT from device manager.

  3. Build the project se05x_setAppletFearures. Configure the tool with SE050_A, SE050_B or SE050_C, to enable the applet specific features.

  4. Run the executable for desired variant as:

    cd tools
    set EX_SSS_BOOT_SCP03_PATH_ENV=\path\to\platfscp03\keys
    se05x_setAppletFearures.exe -file <filename> <COMPORT>
    

    Where EX_SSS_BOOT_SCP03_PATH_ENV is set to the path of file containing Platform SCP03 keys as described in Configuring Environment for PlatfSCP03 Keys.

    COMPORT is the port obtained from step 2.

    filename is the path to file containing ECDSA keypair provisioned at RESERVED_ID_FEATURE in binary format as described in Configuring ECKey key for command line

5.7.18.4. Using with iMX-6 as host

  1. Build the project se05x_setAppletFearures. Configure the tool with SE050_A, SE050_B or SE050_C, to enable the applet specific features.

  2. Run the executable for desired variant as:

    cd tools
    export EX_SSS_BOOT_SCP03_PATH_ENV=\path\to\platfscp03\keys
    ./se05x_setAppletFearures -file <filename>
    

    Where EX_SSS_BOOT_SCP03_PATH_ENV is set to the path of file containing Platform SCP03 keys as described in Configuring Environment for PlatfSCP03 Keys.

    filename is the path to file containing ECDSA keypair provisioned at RESERVED_ID_FEATURE in binary format as described in Configuring ECKey key for command line