Running PrintKeyDates

The PrintKeyDates sample application:

  1. Reads credentials in Entrust .epf format.

  2. Prints expiry information on the verification certificate, encryption certificate, and private signing key.

  3. 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 Information
 
The signing certificate is valid from: Thu Feb 02 14:10:45 EST 2023
The signing certificate is valid to: Mon Feb 03 02:44:23 EST 2053
 
The signing private key is valid from: Thu Feb 02 14:10:45 EST 2023
The signing private key is valid to: Mon Feb 03 02:44:23 EST 2053
 
The signing private key has a lifetime length of (in millis): 946816418000
The signing private key has a lifetime length of (in days): 10958
 
This is when the signing private key will start trying to update: Sat Oct 26 03:44:23 EDT 2052
 
Encryption Certificate Information
 
The encryption certificate is valid from: Thu Feb 02 14:10:45 EST 2023
The encryption certificate is valid to: Mon Feb 03 02:44:23 EST 2053
 
This is when the encryption cert will start trying to update: Sat Oct 26 03:44:23 EDT 2052
 
Done printing information, logging out...