org.bouncycastle.mail.smime
Class SMIMEGenerator
java.lang.Object
org.bouncycastle.mail.smime.SMIMEGenerator
public class SMIMEGenerator
extends java.lang.Object
super class of the various generators.
protected MimeBodyPart | makeContentBodyPart(MimeBodyPart content) - Make sure we have a valid content body part - setting the headers
with defaults if neccessary.
|
protected MimeBodyPart | makeContentBodyPart(MimeMessage message) - extract an appropriate body part from the passed in MimeMessage
|
void | setContentTransferEncoding(String encoding) - set the content-transfer-encoding for the signature.
|
encoding
protected String encoding
useBase64
protected boolean useBase64
SMIMEGenerator
protected SMIMEGenerator()
base constructor
makeContentBodyPart
protected MimeBodyPart makeContentBodyPart(MimeBodyPart content)
throws SMIMEException
Make sure we have a valid content body part - setting the headers
with defaults if neccessary.
makeContentBodyPart
protected MimeBodyPart makeContentBodyPart(MimeMessage message)
throws SMIMEException
extract an appropriate body part from the passed in MimeMessage
setContentTransferEncoding
public void setContentTransferEncoding(String encoding)
set the content-transfer-encoding for the signature.