Running Create

The Create sample application creates and recovers a roaming user.

To run this sample application, execute the following command line in the etjava/examples directory.

java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.examples.roaming.Create <id> <pwd> <ref> <code> <entrust.ini>

Parameter

Value

<id>

An identifier for the new roaming user.

<pwd>

A password for the new roaming user.

<ref>

A reference number for the new roaming user.

<code>

An authorization code for the new roaming user.

<entrust.ini>

The path of an Entrust initialization file with .ini extension.

For example:

C:\etjava\examples>java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.examples.roaming.Create MyUser Passw0rd 62863633 JHQR-SR6A-MEI7 entrust.ini
 
Roaming Sample application to demonstrate creating a Roaming Digital Identity
user id = MyUser
password = Passw0rd
reference number = 62863633
authorization code = JHQR-SR6A-MEI7
entrust.ini = entrust.ini
Creating Roaming User...
Creation complete
 
Sign/Verify Test
 
Attempting sign operation using the user's signing key...
 
Attempting verify operation using the user's verification certificate...
 
Signature verification was successful