public class SMIMEGenerator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
encoding |
protected boolean |
useBase64 |
Modifier | Constructor and Description |
---|---|
protected |
SMIMEGenerator()
base constructor
|
Modifier and Type | Method and Description |
---|---|
protected javax.mail.internet.MimeBodyPart |
makeContentBodyPart(javax.mail.internet.MimeBodyPart content)
Make sure we have a valid content body part - setting the headers
with defaults if neccessary.
|
protected javax.mail.internet.MimeBodyPart |
makeContentBodyPart(javax.mail.internet.MimeMessage message)
extract an appropriate body part from the passed in MimeMessage
|
void |
setContentTransferEncoding(java.lang.String encoding)
set the content-transfer-encoding for the CMS block (enveloped data, signature, etc...)
|
public void setContentTransferEncoding(java.lang.String encoding)
encoding
- the encoding to use, default "base64", use "binary" for a binary encoding.protected javax.mail.internet.MimeBodyPart makeContentBodyPart(javax.mail.internet.MimeBodyPart content) throws SMIMEException
SMIMEException
protected javax.mail.internet.MimeBodyPart makeContentBodyPart(javax.mail.internet.MimeMessage message) throws SMIMEException
SMIMEException