The Symbian certificate store architecture allows devices to have multiple, coexisting certstore implementations. All implementations are accessed through an abstraction layer: the unified certificate store.
certtool fully supports multiple certstore implementations with the option –store which can be used to specify a particular certstore implementation which a command must use. To see a list of all available certstore implementations, use the command –liststores or -ls for short. For example:
certtool –ls
This results in output similar to the following:
Total Number of Stores: 2 Total Number of Writable Stores: 1 Total Number of Read only Stores: 1 [0] Store Label: Software certificate store Version: 1.00 Serial Number: 0 Manufacturer: Nokia Corporation Store Type: ReadWrite [1] Store Label: SWI cert store Version: 1.00 Serial Number: N/A Manufacturer: Nokia Corporation Store Type: Read only
There is an entry for each certstore implementation. The numbers in brackets represent the certstore index which can refer to a specific certstore implementation in the –store option. In addition, there is a label, a human readable description of the implementation. Some meta-data is also present, such as the version, serial number, manufacturer and store type of a given implementation.
With this knowledge, use the –store option to specify the certstore implementation a command must use. For instance if you want to list the content of the 2nd certstore implementation:
certtool –store 1 –list
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.