Running Login

The Login sample application logs in 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.Login <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:\Desktop\etjava\examples>java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.examples.roaming.Login MyUser Passw0rd entrust.ini
 
Roaming Sample application to demonstrate logging in to a Roaming Digital Identi
ty
user id = MyUser
password = Passw0rd
entrust.ini = entrust.ini
Roaming Login...
Login complete
 
Getting the verification certificate...
Version: 3
Serial number: 1062863635
Signature algorithm: sha1WithRSAEncryption
Issuer: o=MyRoot,c=ca
Valid not before: Mon Dec 06 13:07:14 EST 2004
not after: Thu Dec 06 13:37:14 EST 2007
Subject: cn=MyUser MyUser,o=MyRoot,c=ca
public exponent: 10001
modulus: b051acc80af159f974acbd47f2e026e07c9286926fbaa7746c631f4f8078b5e66ff6e78
ecdd6a4fbf45840044ac3e4d0571757efb1d9f928e921ef32d0a2a51d2acc6b65c694d10611edcc5
82268d32b2046e268a311ae898b800b0208be1b1b0f3071c9590f2574f0355927f1099dd63a39bf2
a8e609f9b953a90ac6c76b715
 
Extensions: 8
Certificate Fingerprint: FA:22:59:EF:83:07:41:F4:86:63:11:68:C0:02:2D:17
 
Getting the encryption certificate...
Version: 3
Serial number: 1062863634
Signature algorithm: sha1WithRSAEncryption
Issuer: o=MyRoot,c=ca
Valid not before: Mon Dec 06 13:07:14 EST 2004
not after: Thu Dec 06 13:37:14 EST 2007
Subject: cn=MyUser MyUser,o=MyRoot,c=ca
public exponent: 10001
modulus: e90202402a1ad6496fd614a7a438fe80c5b5cc8b32e97fce1c7621740553148329e1ff6
5f6e9a25b2d8dbb68c0fb9024298f7555525e2b27b47c62b2fb079b17e8c7845101c73f86cb0f234
88dc636f00c9a88909e7a8f2ca184091f4cadedce488614bc440274abf69020f7837459b3778cc43
d708d11f037f5dbcf9e6e056d
 
Extensions: 7
Certificate Fingerprint: 21:15:00:3B:22:5E:9B:77:85:5D:73:40:BC:77:46:12