Running EntelligenceInterop
The EntelligenceInterop sample application creates S/MIME message files that can be decoded by Entelligence.
To run this sample application, execute the following command line in the etjava/examples directory.
java -classpath ../lib/enttoolkit.jar;<jakarta.mail.jar>;<jakarta.activation.jar>; com.entrust.toolkit.examples.smimev3.EntelligenceInterop <epf_file> <epf_pwd> [<p7m>]|
Parameter |
Value |
|
<jakarta.mail.jar> |
<dependency> |
|
<jakarta.activation.jar> |
<dependency> |
|
<epf_file> |
The path of an Entrust user profile in .epf file format. |
|
<epf_pwd> |
The password for accessing the Entrust profile. |
|
<p7m> |
A list of output P7M file paths. |
For example:
c:\etjava\examples>java -classpath classes;..\lib\enttoolkit.jar;c:\java\lib\mail.jar;c:\java\lib\activation.jar com.entrust.toolkit.examples.smimev3.EntelligenceInterop data/userdata/RSAUser1.epf ~Sample7~Logging indoSmimeSigned beginsdoSmimeSigned DONEdoSmimeEncrypted beginsdoSmimeEncrypted DONEdoSmimeSignedEncrypted beginsdoSmimeSignedEncrypted DONEdoPkcs7Signed beginsdoPkcs7Signed DONEdoPkcs7Encrypted beginsdoPkcs7Encrypted DONEdoPkcs7SignedEncrypted beginsdoPkcs7SignedEncrypted DONEDone