Running CacheCRL

The CacheCRL sample application retrieves cached CRLS after a user logs into an Entrust Certificate Authority directory .

This sample connects to a directory and, therefore, does not support the profile files in examples/data/userdata

To run this sample application, execute the following command line in the etjava/examples directory.

java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.cache.CacheCRL <epf_file> <epf_pwd> <dir_ip>

Parameter

Value

<epf_file>

The path of an Entrust user profile in .epf file format.

<epf_pwd>

The password for accessing the Entrust profile.

<dir_ip>

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

For example:

C:\etjava\examples>java -classpath classes;..\lib\enttoolkit.jar com.entrust.toolkit.examples.cache.CacheCRL MyUser.epf Passw0rd myPkiDirectory.domain.com
 
Logging in to MyUser.epf
Login status:
User status - 0
 
==========Cached CRLs===============
[Y249Q1JMMSxvdT1QS0k3LG89SkFWQSBUT09MS0lUIFNBTVBMRVMsYz1DQQ==]
CRL=MIICGzCCAQMCAQEwDQYJKoZIhvcNAQEFBQAwOzELMAkGA1UEBhMCQ0ExHTAbBgNVBAoT
_continue_=FEphdmEgVG9vbGtpdCBTYW1wbGVzMQ0wCwYDVQQLEwRQS0k3Fw0wNDAxMTYxO
_continue_=DQ5MTZaFw0wNDAxMTcxOTQ5MTZaoIGTMIGQMGEGA1UdHAEB/wRXMFWgUKBOpE
_continue_=wwSjELMAkGA1UEBhMCQ0ExHTAbBgNVBAoTFEphdmEgVG9vbGtpdCBTYW1wbGV
_continue_=zMQ0wCwYDVQQLEwRQS0k3MQ0wCwYDVQQDEwRDUkwxgQH/MAoGA1UdFAQDAgEc
_continue_=MB8GA1UdIwQYMBaAFFdxjiaxXYdPd5pNDVjv9VuLXdfHMA0GCQ==
CRL1=KoZIhvcNAQEFBQADggEBAInjuoXg+vYq0qFzYJevvZB2y07VTrpuqR+3H+N5D0Znjrp
_continue_=S9xYBZtlPHlPmuje+2YEBYA1StqS2WnBGuTZhz85oGE7f34aDStap7CREUOz8
_continue_=DDLkbsaliirD8b2igQJgk+9/D5+KuHvZbsb1ObIJCHh6pJt8lOPlYhRKed/W4
_continue_=TKYhuZMDFUmNPtwt+4D4MmWB+cha3Pd675k8UG+VhWCm1gl2jYEotpL1LasyW
_continue_=LzvAgkAapM40PuFz2eUO49OF3eLe5Jomv4Bg2J+SH7RahPVqq13vGQ5rLrc48
_continue_=LXoMwLGBOEelUFkpM3+T0X7oOckXvcFZ5MfJPBq6ANob9M2S2jfc=