|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.oyster.test.TestSignedHtml
Tests signing process. Signed text/html message with or withouth attachments
can be sent by this test. This example is test for composing of email message
content by html code which is given from the file system. To get help for
this example type: "java org.enhydra.oyster.test.TestSignedHtml" in command
line. It is assumed that oyster_tests.jar is in your classpath.
Parameters passed to example are:
<mailHost> <mailAddress> <digestAlgorithm> <includingCert>
<includingSignAttrib> <pfxFileName> <externalSigning>
[<attachment>]
<digestAlgorithm> could be: SHA1_WITH_RSA, MD2_WITH_RSA, MD5_WITH_RSA or SHA1_WITH_DSA.
<includingCert> could be: true/false
<includingSignAttrib> could be: true/false
<externalSigning> could be: true/false
Note that for this example passwords for .pfx or .p12 files are fixed to
"together". All .pfx files or .p12 files provided with this example have this
password. Also, email address "FROM" is fixed to: "sender@together.at".
You should change this values in source code of TestSignedHtml.java in order
to use them with other .pfx or .p12 files and corresponding "FROM" addresses and passwords.
Constructor Summary | |
TestSignedHtml()
|
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 TestSignedHtml()
Method Detail |
public static void main(java.lang.String[] args)
|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |