Class TestEncrypt


public class TestEncrypt
extends java.lang.Object

Tests enveloping process. Encrypted text/plain message with or withouth attachments can be sent by this test. To get help for this example type: "java org.webdocwf.util.smime.test.TestEncrypt" in command line. It is assumed that smime200tests.jar is in your classpath.

Parameters passed to example are:
<mailHost> <mailAddress> <cerFileName> <algorithmName> [<attachment>]

<algorithmName> could be: RC240, RC264, RC2128, 3DES or 3DES

Note that for this example email address "FROM" is fixed to: "". You should change this values in source code of in order to use them with other "FROM" address.

Constructor Summary
Method Summary
static void main(java.lang.String[] args)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public TestEncrypt()
Method Detail


public static void main(java.lang.String[] args)

Copyright © 2002-2002 Together Teamlösungen. All Rights Reserved.