public class CMSProcessableBodyPartOutbound
extends java.lang.Object
implements org.bouncycastle.cms.CMSProcessable
Constructor and Description |
---|
CMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart)
Create a processable with the default transfer encoding of 7bit
|
CMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart,
java.lang.String defaultContentTransferEncoding)
Create a processable with the a default transfer encoding of
the passed in value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContent() |
void |
write(java.io.OutputStream out) |
public CMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart)
bodyPart
- body part to be processedpublic CMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart, java.lang.String defaultContentTransferEncoding)
bodyPart
- body part to be processeddefaultContentTransferEncoding
- the new default to use.public void write(java.io.OutputStream out) throws java.io.IOException, org.bouncycastle.cms.CMSException
write
in interface org.bouncycastle.cms.CMSProcessable
java.io.IOException
org.bouncycastle.cms.CMSException
public java.lang.Object getContent()
getContent
in interface org.bouncycastle.cms.CMSProcessable