diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-49D979C8-C9B5-55A4-A496-9B62FC569D05.dita --- a/Symbian3/PDK/Source/GUID-49D979C8-C9B5-55A4-A496-9B62FC569D05.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-49D979C8-C9B5-55A4-A496-9B62FC569D05.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,96 +1,96 @@ - - - - - -DumpSWICertstoreTool DumpSWICertstoreTool extracts certificate related information such as capabilities and mandatory status from one or more SWI certificate stores. Syntax

dumpswicertstoretool [OPTIONS] - <ARGS>

The following table lists all the options supported by DumpSWICertstoreTool.

Options Description Usage

-v

Displays version of the tool.

dumpswicertstoretool [-v]

-h

Displays help message.

dumpswicertstoretool [-h]

-i

Displays Open SSL licence.

dumpswicertstoretool [-i]

-c

Extracts certificates from the swicertstore.dat file to the current location.

dumpswicertstoretool [-c] datfile directory

-d

Displays certificates in PEM format along with details of capabilities and mandatory status.

dumpswicertstoretool [-d] datfile directory

The following table lists the arguments to be specified with DumpSWICertstoreTool.

Arguments Description

datfile

Specifies the location of the swicerstore.dat file on the ROM ( For example, Z:\resource\swicertstore.dat). Optional, if directory is specified.

directory

Specifies the location of the C:\ based writable swicertstore.dat file (For example, c:\resource\swicertstore\dat\ ). Optional, if datfile is provided.

Examples

The following examples illustrates the usage of DumpSWICertstoreTool:

  • To display certificate information for all the certificates available in ROM based SWI certificate store.

    dumswicertstoretool Z:\resource\swicertstore.dat

    This command displays a list of all the certificates from the ROM based swicertstore.dat file along with their capability information and mandatory status, at the command-prompt as shown in the following sample output:

    Z:\resource\swicertstore.dat: ROM Based SwiCertStore: -[Root5CA] - -file=Root5CA.der -capability= ReadDeviceData -capability= WriteDeviceData -capability= DRM -capability= AllFiles -application=SWInstall -Mandatory=1 - - -[Sample1RSACA] - -file=SymbianTestRSACA.der -capability= TCB -capability= CommDD -application=SWInstall -Mandatory=0 -
  • To display certificate information for all the certificates available in the ROM based and C:\ based swicertstore.dat files.

    dumswicertstoretool Z:\resource\swicertstore.dat C:\resource\swicertstore\dat\swicertstore.dat

    This command displays the certificate information as shown in the following sample output:

    Z:\resource\swicertstore.dat: ROM Based SwiCertStore: -[Root5CA] - -file=Root5CA.der -capability= ReadDeviceData -capability= WriteDeviceData -capability= DRM -capability= AllFiles -application=SWInstall -Mandatory=1 - - -[Sample1RSACA] - -file=SymbianTestRSACA.der -capability= TCB -capability= CommDD -application=SWInstall -Mandatory=0 - -C:\resource\swicertstore\dat\swicertstore.dat: - -[StatCA] - -file=StatCA.der -capability= TCB -capability= CommDD -capability= PowerMgmt -capability= MultimediaDD -capability= ReadDeviceData -capability= WriteDeviceData -capability= DRM -capability= TrustedUI -capability= ProtServ -capability= DiskAdmin -capability= NetworkControl -capability= AllFiles -capability= SwEvent -capability= NetworkServices -capability= LocalServices -capability= ReadUserData -capability= WriteUserData -capability= Location -capability= SurroundingsDD -capability= UserEnvironment -application=SWInstall -application=SWInstallOCSP -Mandatory=0 - -.... -.... - - -[Sample1DSACA] - -file = SampleDSACA.der -capability = MultimediaDD -capability = NetworkServices -capability = LocalServices -capability = Location -application = SWInstall -application = SWInstallOCSP -Mandatory = 0 -SystemUpgrade = 0 + + + + + +DumpSWICertstoreTool DumpSWICertstoreTool extracts certificate related information such as capabilities and mandatory status from one or more SWI certificate stores. Syntax

    dumpswicertstoretool [OPTIONS] + <ARGS>

    The following table lists all the options supported by DumpSWICertstoreTool.

    Options Description Usage

    -v

    Displays version of the tool.

    dumpswicertstoretool [-v]

    -h

    Displays help message.

    dumpswicertstoretool [-h]

    -i

    Displays Open SSL licence.

    dumpswicertstoretool [-i]

    -c

    Extracts certificates from the swicertstore.dat file to the current location.

    dumpswicertstoretool [-c] datfile directory

    -d

    Displays certificates in PEM format along with details of capabilities and mandatory status.

    dumpswicertstoretool [-d] datfile directory

    The following table lists the arguments to be specified with DumpSWICertstoreTool.

    Arguments Description

    datfile

    Specifies the location of the swicerstore.dat file on the ROM ( For example, Z:\resource\swicertstore.dat). Optional, if directory is specified.

    directory

    Specifies the location of the C:\ based writable swicertstore.dat file (For example, c:\resource\swicertstore\dat\ ). Optional, if datfile is provided.

    Examples

    The following examples illustrates the usage of DumpSWICertstoreTool:

    • To display certificate information for all the certificates available in ROM based SWI certificate store.

      dumswicertstoretool Z:\resource\swicertstore.dat

      This command displays a list of all the certificates from the ROM based swicertstore.dat file along with their capability information and mandatory status, at the command-prompt as shown in the following sample output:

      Z:\resource\swicertstore.dat: ROM Based SwiCertStore: +[Root5CA] + +file=Root5CA.der +capability= ReadDeviceData +capability= WriteDeviceData +capability= DRM +capability= AllFiles +application=SWInstall +Mandatory=1 + + +[Sample1RSACA] + +file=SymbianTestRSACA.der +capability= TCB +capability= CommDD +application=SWInstall +Mandatory=0 +
    • To display certificate information for all the certificates available in the ROM based and C:\ based swicertstore.dat files.

      dumswicertstoretool Z:\resource\swicertstore.dat C:\resource\swicertstore\dat\swicertstore.dat

      This command displays the certificate information as shown in the following sample output:

      Z:\resource\swicertstore.dat: ROM Based SwiCertStore: +[Root5CA] + +file=Root5CA.der +capability= ReadDeviceData +capability= WriteDeviceData +capability= DRM +capability= AllFiles +application=SWInstall +Mandatory=1 + + +[Sample1RSACA] + +file=SymbianTestRSACA.der +capability= TCB +capability= CommDD +application=SWInstall +Mandatory=0 + +C:\resource\swicertstore\dat\swicertstore.dat: + +[StatCA] + +file=StatCA.der +capability= TCB +capability= CommDD +capability= PowerMgmt +capability= MultimediaDD +capability= ReadDeviceData +capability= WriteDeviceData +capability= DRM +capability= TrustedUI +capability= ProtServ +capability= DiskAdmin +capability= NetworkControl +capability= AllFiles +capability= SwEvent +capability= NetworkServices +capability= LocalServices +capability= ReadUserData +capability= WriteUserData +capability= Location +capability= SurroundingsDD +capability= UserEnvironment +application=SWInstall +application=SWInstallOCSP +Mandatory=0 + +.... +.... + + +[Sample1DSACA] + +file = SampleDSACA.der +capability = MultimediaDD +capability = NetworkServices +capability = LocalServices +capability = Location +application = SWInstall +application = SWInstallOCSP +Mandatory = 0 +SystemUpgrade = 0
    • To extract all the certificates from the ROM based and writeable swicertstore.dat files.

      dumpswicertstoretool -c Z:\resource\swicertstore.dat C:\resource\swicertstore\dat\swicertstore.dat

      This command extracts all the certificates to the current working directory and displays capability information at the command-prompt.

    \ No newline at end of file