chapter9
Class SignedMailExample
java.lang.Object
chapter9.SignedDataProcessor
chapter9.SignedMailExample
public class SignedMailExample
- extends SignedDataProcessor
a simple example that creates and processes a signed mail message.
Method Summary |
static javax.mail.internet.MimeMultipart |
createMultipartWithSignature(java.security.PrivateKey key,
java.security.cert.X509Certificate cert,
java.security.cert.CertStore certsAndCRLs,
javax.mail.internet.MimeBodyPart dataPart)
|
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 |
SignedMailExample
public SignedMailExample()
createMultipartWithSignature
public static javax.mail.internet.MimeMultipart createMultipartWithSignature(java.security.PrivateKey key,
java.security.cert.X509Certificate cert,
java.security.cert.CertStore certsAndCRLs,
javax.mail.internet.MimeBodyPart dataPart)
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Examples from "Beginning Cryptography with Java"