Running SMimeShow for S/MIME v3
The SMimeShow sample application for S/MIME v3 retrieves and displays messages from a POP mail server.
To run this sample application, execute the etjava/examples directory.
java -classpath ../lib/enttoolkit.jar;<jakarta.mail.jar>;<jakarta.activation.jar>;[<other-mail-providers>] com.entrust.toolkit.examples.smime.SMimeShow|
Parameter |
Value |
|
<jakarta.mail.jar> |
<dependency> |
|
<jakarta.activation.jar> |
<dependency> |
|
<other-mail-providers> |
<dependency> <dependency> <dependency> |
For example:
c:\etjava\examples>java -classpath classes;..\lib\enttoolkit.jar;c:\java\lib\mail.jar;c:\java\lib\pop3.jar;c:\java\lib\activation.jar;c:\java\lib\angus-mail.jar com.entrust.toolkit.examples.smime.SMimeShowTotal messages = 35New messages = 0---------------------------------------------------------MESSAGE #1:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: PlainSendDate: Mon Jul 18 16:23:16 EDT 2005Size: 218FLAGS = X-Mailer NOT availableCONTENT-TYPE: multipart/mixed; boundary="----=_Part_0_11985823.1121718196792"----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #2:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:17 EDT 2005Size: 446FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESS----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #3:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Explicitly SignedSendDate: Mon Jul 18 16:23:19 EDT 2005Size: 3874FLAGS = X-Mailer NOT availableCONTENT-TYPE: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="----=_Part_1_32189467.1121718199417"This message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202319ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: D3:AC:7C:D8:1C...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBC----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #4:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:20 EDT 2005Size: 3476FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202319ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: D3:AC:7C:D8:1C...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBC----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #5:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Implicitly SignedSendDate: Mon Jul 18 16:23:21 EDT 2005Size: 3726FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; name=smime.p7mThis message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202321ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: D3:AC:7C:D8:1C...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBC----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #6:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:22 EDT 2005Size: 3464FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202321ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: D3:AC:7C:D8:1C...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBC----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #7:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Encrypted [RC2-CBC/40]SendDate: Mon Jul 18 16:23:22 EDT 2005Size: 926FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; name=smime.p7mThis message is encrypted!Content is a String---------------------------This is the encrypted content!Content encryption algorithm: RC2-CBC--------------------------MESSAGE #8:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:24 EDT 2005Size: 1222FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is encrypted!Content is a String---------------------------This is the encrypted content!Content encryption algorithm: RC2-CBC--------------------------MESSAGE #9:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Encrypted [RC2-CBC/64]SendDate: Mon Jul 18 16:23:24 EDT 2005Size: 926FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; name=smime.p7mThis message is encrypted!Content is a String---------------------------This is the encrypted content!Content encryption algorithm: RC2-CBC--------------------------MESSAGE #10:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:25 EDT 2005Size: 1222FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is encrypted!Content is a String---------------------------This is the encrypted content!Content encryption algorithm: RC2-CBC--------------------------MESSAGE #11:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Encrypted [RC2-CBC/128]SendDate: Mon Jul 18 16:23:26 EDT 2005Size: 926FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; name=smime.p7mThis message is encrypted!Content is a String---------------------------This is the encrypted content!Content encryption algorithm: RC2-CBC--------------------------MESSAGE #12:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:27 EDT 2005Size: 1222FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is encrypted!Content is a String---------------------------This is the encrypted content!Content encryption algorithm: RC2-CBC--------------------------MESSAGE #13:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Encrypted [DES-EDE3-CBC]SendDate: Mon Jul 18 16:23:27 EDT 2005Size: 930FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; name=smime.p7mThis message is encrypted!Content is a String---------------------------This is the encrypted content!Content encryption algorithm: DES-EDE3-CBC--------------------------MESSAGE #14:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:28 EDT 2005Size: 1222FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is encrypted!Content is a String---------------------------This is the encrypted content!Content encryption algorithm: DES-EDE3-CBC--------------------------MESSAGE #15:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Implicitly Signed and EncryptedSendDate: Mon Jul 18 16:23:29 EDT 2005Size: 6026FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; name=smime.p7mThis message is encrypted!This message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202329ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: D3:AC:7C:D8:1C...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBC----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #16:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:30 EDT 2005Size: 6538FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is encrypted!This message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202329ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: D3:AC:7C:D8:1C...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBC----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #17:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Explicitly Signed and EncryptedSendDate: Mon Jul 18 16:23:31 EDT 2005Size: 6210FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; name=smime.p7mThis message is encrypted!This message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202331ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: D3:AC:7C:D8:1C...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBC----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #18:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:31 EDT 2005Size: 6724FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is encrypted!This message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202331ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: D3:AC:7C:D8:1C...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBC----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #19:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK S/MIME: Certs-only messageSendDate: Mon Jul 18 16:23:32 EDT 2005Size: 2720FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=certs-only; name=smime.p7cThis message is signed!This message contains only certificates!--------------------------MESSAGE #20:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:33 EDT 2005Size: 2642FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is signed!This message contains only certificates!--------------------------MESSAGE #21:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK S/MIME: Certs-only messageSendDate: Mon Jul 18 16:23:34 EDT 2005Size: 3112FLAGS = X-Mailer NOT availableCONTENT-TYPE: multipart/mixed; boundary="----=_Part_7_7760420.1121718214199"----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a test where the certs-only message is included in the second part!----------------> Multipart: 2CONTENT-TYPE: application/pkcs7-mime; smime-type=certs-only; name=smime.p7cThis message is signed!This message contains only certificates!----------------> End of Multipart--------------------------MESSAGE #22:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:34 EDT 2005Size: 2898FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESS----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a test where the certs-only message is included in the second part!----------------> Multipart: 2CONTENT-TYPE: application/pkcs7-mime; smime-type=certs-only; name=smime.p7cThis message is signed!This message contains only certificates!----------------> End of Multipart--------------------------MESSAGE #23:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Certificate RequestSendDate: Mon Jul 18 16:23:35 EDT 2005Size: 520FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs10; name=smime.p10This message contains a certificate request:Version: 0Subject: EMail=regray@wottjgrayibm,cn=null nullpublic exponent: 10001modulus: d11a844dfab25ab9fbbcc9876e291c9c3460f812c5fb8c4d4e780633890c0199dea5b5f31cb784f9e11894757a6837c76eaa1ef9bc516aa6ea6a1518ca8aa078b3d18cd06173377fcacb4ce902126866be0209d0fd26636b7152cf66b19ef325512821390f22879d8ffc826fe007aa8194c2f6551ea9e2d003dc8d00a0a19f7fSignature algorithm: sha1WithRSAEncryptionFingerprint: 71:39:2B:90:A9:B7:09:28:D7:FE:8B:61:AA:15:55:8CRequest verification ok for EMail=regray@wottjgrayibm,cn=null null--------------------------MESSAGE #24:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:37 EDT 2005Size: 808FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message contains a certificate request:Version: 0Subject: EMail=regray@wottjgrayibm,cn=null nullpublic exponent: 10001modulus: d11a844dfab25ab9fbbcc9876e291c9c3460f812c5fb8c4d4e780633890c0199dea5b5f31cb784f9e11894757a6837c76eaa1ef9bc516aa6ea6a1518ca8aa078b3d18cd06173377fcacb4ce902126866be0209d0fd26636b7152cf66b19ef325512821390f22879d8ffc826fe007aa8194c2f6551ea9e2d003dc8d00a0a19f7fSignature algorithm: sha1WithRSAEncryptionFingerprint: 71:39:2B:90:A9:B7:09:28:D7:FE:8B:61:AA:15:55:8CRequest verification ok for EMail=regray@wottjgrayibm,cn=null null--------------------------MESSAGE #25:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Certificate RequestSendDate: Mon Jul 18 16:23:37 EDT 2005Size: 935FLAGS = X-Mailer NOT availableCONTENT-TYPE: multipart/mixed; boundary="----=_Part_8_1049443.1121718217902"----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a test where the request message is included in the second part!----------------> Multipart: 2CONTENT-TYPE: application/pkcs10; name=smime.p10This message contains a certificate request:Version: 0Subject: EMail=regray@wottjgrayibm,cn=null nullpublic exponent: 10001modulus: d11a844dfab25ab9fbbcc9876e291c9c3460f812c5fb8c4d4e780633890c0199dea5b5f31cb784f9e11894757a6837c76eaa1ef9bc516aa6ea6a1518ca8aa078b3d18cd06173377fcacb4ce902126866be0209d0fd26636b7152cf66b19ef325512821390f22879d8ffc826fe007aa8194c2f6551ea9e2d003dc8d00a0a19f7fSignature algorithm: sha1WithRSAEncryptionFingerprint: 71:39:2B:90:A9:B7:09:28:D7:FE:8B:61:AA:15:55:8CRequest verification ok for EMail=regray@wottjgrayibm,cn=null null----------------> End of Multipart--------------------------MESSAGE #26:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:38 EDT 2005Size: 1104FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESS----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a test where the request message is included in the second part!----------------> Multipart: 2CONTENT-TYPE: application/pkcs10; name=smime.p10This message contains a certificate request:Version: 0Subject: EMail=regray@wottjgrayibm,cn=null nullpublic exponent: 10001modulus: d11a844dfab25ab9fbbcc9876e291c9c3460f812c5fb8c4d4e780633890c0199dea5b5f31cb784f9e11894757a6837c76eaa1ef9bc516aa6ea6a1518ca8aa078b3d18cd06173377fcacb4ce902126866be0209d0fd26636b7152cf66b19ef325512821390f22879d8ffc826fe007aa8194c2f6551ea9e2d003dc8d00a0a19f7fSignature algorithm: sha1WithRSAEncryptionFingerprint: 71:39:2B:90:A9:B7:09:28:D7:FE:8B:61:AA:15:55:8CRequest verification ok for EMail=regray@wottjgrayibm,cn=null null----------------> End of Multipart--------------------------MESSAGE #27:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Compressed [ZLIB-COMPRESS]SendDate: Mon Jul 18 16:23:39 EDT 2005Size: 364FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESS----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #28:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Implicitly SignedSendDate: Mon Jul 18 16:23:39 EDT 2005Size: 5406FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: alg_nullThis message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202339ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: D3:AC:7C:D8:1C...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBC----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #29:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: IAIK-S/MIME: Implicitly SignedSendDate: Mon Jul 18 16:23:40 EDT 2005Size: 3464FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202340ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: D3:AC:7C:D8:1C...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBC----------------> Content is a Multipart----------------> Multipart: 1CONTENT-TYPE: text/plain; charset=us-asciiContent is a String---------------------------This is a Test of the IAIK S/MIME implementation!----------------> End of Multipart--------------------------MESSAGE #30:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: SMime Message! May be signed, encrypted and compressed in any order or combination! This is a application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zmessage!SendDate: Mon Jul 18 16:23:42 EDT 2005Size: 3402FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202342ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: E5:DD:42:B7:04...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBCContent is a String---------------------------This Content was reset by the SMimeSend Sample!!Signer Infos for signed content: [Liaik.cms.SignerInfo;@e70e30--------------------------MESSAGE #31:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: SMime Message! May be signed, encrypted and compressed in any order or combination! This is a application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zmessage!SendDate: Mon Jul 18 16:23:43 EDT 2005Size: 948FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is encrypted!Content is a String---------------------------This Content was reset by the SMimeSend Sample!Content encryption algorithm: DES-EDE3-CBC--------------------------MESSAGE #32:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: SMime Message! May be signed, encrypted and compressed in any order or combination! This is a application/pkcs7-mime; name=smime.p7mmessage!SendDate: Mon Jul 18 16:23:45 EDT 2005Size: 10890FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; name=smime.p7mThis message is encrypted!This message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202345ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: 0D:6D:89:78:39...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBCContent is a String---------------------------This Content was reset by the SMimeSend Sample!!Signer Infos for signed content: [Liaik.cms.SignerInfo;@1af33d6--------------------------MESSAGE #33:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: SMime Message! May be signed, encrypted and compressed in any order or combination! This is a application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zmessage!SendDate: Mon Jul 18 16:23:46 EDT 2005Size: 6296FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is encrypted!This message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202346ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: A6:FD:46:14:FF...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBCContent is a String---------------------------This Content was reset by the SMimeSend Sample!!Signer Infos for signed content: [Liaik.cms.SignerInfo;@1ce784b--------------------------MESSAGE #34:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: SMime Message! May be signed, encrypted and compressed in any order or combination! This is a application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zmessage!SendDate: Mon Jul 18 16:23:46 EDT 2005Size: 3796FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202346ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: 85:20:08:2C:23...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBCThis message is encrypted!Content is a String---------------------------This Content was reset by the SMimeSend Sample!Content encryption algorithm: DES-EDE3-CBC--------------------------MESSAGE #35:This is the message envelope---------------------------FROM: regray@wottjgrayibmTO: jogray@wottjgrayibmSUBJECT: SMime Message! May be signed, encrypted and compressed in any order or combination! This is a application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zmessage!SendDate: Mon Jul 18 16:23:47 EDT 2005Size: 4630FLAGS = X-Mailer NOT availableCONTENT-TYPE: application/pkcs7-mime; smime-type=compressed-data; name=smime.p7zThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is signed!Verification with verify() successful!This message is signed from: cn=RSA User1,ou=PKI7,o=Java Toolkit Samples,c=CAVerification with verify(cert) successful!Certificate trusted!Certificate trusted!SignerInfo 0 contains the following signed attributes:OBJECT ID = contentTypecontentType = OBJECT ID = PKCS#7 dataOBJECT ID = signingTimesigningTime = UTCTime = 050718202347ZOBJECT ID = messageDigestmessageDigest = OCTET STRING = 20 bytes: ED:BF:A4:92:B4...OBJECT ID = symmetricCapabilitiessymmetricCapabilities = SEQUENCE[C] = 5 elementsSEQUENCE[C] = 1 elementsOBJECT ID = DES-EDE3-CBCSEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 128SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 64SEQUENCE[C] = 2 elementsOBJECT ID = RC2-CBCINTEGER = 40SEQUENCE[C] = 1 elementsOBJECT ID = DES-CBCThis message is a compressed content!Algorithm: ZLIB-COMPRESSThis message is encrypted!This message is a compressed content!Algorithm: ZLIB-COMPRESSContent is a String---------------------------This Content was reset by the SMimeSend Sample!Content compression algorithm: ZLIB-COMPRESSReady! Press the space bar...