ctdemo

ctdemo sets up a 4-token key profile that may be used for an electronic commerce trading application. The token profiles include a sample customer, merchant, bank and certifying authority. The application exchanges public keys between each of the tokens and, where CA mechanism extensions are supported, ProtectToolkit-C generates certificates for the public keys.

ProtectToolkit-C must be configured to have at least 4 slots/tokens for this demonstration program to operate correctly.

ctdemo is a console application that takes the following arguments:

ctdemo -s<slotID> -m<modulus size> -q -f -x

where:

-q Quick. Does not prompt for values but uses defaults.
-f Force. Does not warn about overwriting token contents.
-m Specify modulus size.
-s First slot number to use.
-x Extended. Creates more keys.

Defaults:

Security Officer (SO) PIN = 9999

Slot Token Label PIN
0 Alice 0000
1 NAB 1111
2 Meyer 2222
3 SAFENET 3333

NOTE   This will overwrite the contents of all of the above tokens.