Running Deregister
The Deregister sample application removes a roaming digital identity from the Entrust Cerifixate Authority Directory. This process is known as "deregistration".
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.Deregister <id> <pwd> <entrust.ini>|
Parameter |
Value |
|
<id> |
The identifier of the roaming user. |
|
<pwd> |
The password of the 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.Deregister MyUser Passw0rd entrust.iniRoaming Sample application to demonstrate removal of a Roaming Digital Identityfrom the Directoryuser id = MyUserpassword = Passw0rdentrust.ini = entrust.iniRoaming Login...Login completeWriting the identity to a fileSending deregistration request to Roaming ServerSuccessfully deregistered roaming user 'MyUser'