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.iniRoaming Sample application to demonstrate creating a Roaming Digital Identityuser id = MyUserpassword = Passw0rdreference number = 62863633authorization code = JHQR-SR6A-MEI7entrust.ini = entrust.iniCreating Roaming User...Creation completeSign/Verify TestAttempting sign operation using the user's signing key...Attempting verify operation using the user's verification certificate...Signature verification was successful