Running EnumKeyContainers
The EnumKeyContainers sample lists the key containers for each Cryptographic Service Provider.
To run this sample application, execute the following command line in the etjava/examples directory.
java -classpath classes;<path to enttoolkit.jar> com.entrust.toolkit.examples.capi.EnumKeyContainers [<csp>]|
Parameter |
Value |
|
<csp> |
The identifier of a Cryptographic Service Container. If this optional parameter is omitted, the sample application lists the key containers for all Cryptographic Service Providers. |
For example:
C:\etjava\examples>java -classpath classes;..\lib\enttoolkit.jar com.entrust.toolkit.examples.capi.EnumKeyContainers "Entrust Enhanced Cryptographic Provider"Key containers for provider 'Entrust Enhanced Cryptographic Provider'1: 4|20|34|0|F3520DB8979F4C67AE48C7B934C2D61A2: 4|20|35|0|F3520DB8979F4C67AE48C7B934C2D61A