Running RecoverCredential

The RecoverCredential sample application recovers a new set of credentials and saves them in Entrust .epf format.

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.RecoverCredential <ca_ip> <ca_port> <dir_ip> <dir port> <ref> <epf_file> <epf_pwd>

Parameter

Value

<ca_ip>

The hostname or IP address of an Entrust Certification Authority.

<port>

The port for accessing the Entrust Certification Authority.

<dir_ip>

The hostname or IP address of the Entrust Certificate Authority directory.

<dir_port>

The port for accessing the Entrust Certificate Authority directory.

<ref>

The reference number of the Entrust user for which the credential is requested.

<code>

The authorization code of the Entrust user for which the credential is requested.

<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.RecoverCredential myEASM.domain.com 829 myDirectory.domain.com 389 51721526 QLYJ-ND36-I3PO MyUser Passw0rd
 
Recovering a User... Done