Running PrintKeyDates
The PrintKeyDates sample application:
Reads credentials in Entrust .epf format.
Prints expiry information on the verification certificate, encryption certificate, and private signing key.
Starts the update process.
To run this sample application, execute the following command line in the etjava/examples directory.
java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.credentials.PrintKeyDates <epf_file> <epf_pwd>|
Parameter |
Value |
|
<epf_file> |
The path of an Entrust user profile in .epf file format. |
|
<epf_pwd> |
The password for accessing the Entrust profile. |
For example:
C:\etjava\examples>java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.examples.credentials.PrintKeyDates data/userdata/RSAUser1.epf ~Sample7~Sample to print out key date information for a user.Logging in to Entrust identity: data/userdata/RSAUser1.epf...Verification Certificate InformationThe signing certificate is valid from: Thu Feb 02 14:10:45 EST 2023The signing certificate is valid to: Mon Feb 03 02:44:23 EST 2053The signing private key is valid from: Thu Feb 02 14:10:45 EST 2023The signing private key is valid to: Mon Feb 03 02:44:23 EST 2053The signing private key has a lifetime length of (in millis): 946816418000The signing private key has a lifetime length of (in days): 10958This is when the signing private key will start trying to update: Sat Oct 26 03:44:23 EDT 2052Encryption Certificate InformationThe encryption certificate is valid from: Thu Feb 02 14:10:45 EST 2023The encryption certificate is valid to: Mon Feb 03 02:44:23 EST 2053This is when the encryption cert will start trying to update: Sat Oct 26 03:44:23 EDT 2052Done printing information, logging out...