Package org.bouncycastle.mail.smime
Class CMSProcessableBodyPartOutbound
java.lang.Object
org.bouncycastle.mail.smime.CMSProcessableBodyPartOutbound
- All Implemented Interfaces:
org.bouncycastle.cms.CMSProcessable
public class CMSProcessableBodyPartOutbound
extends Object
implements org.bouncycastle.cms.CMSProcessable
a holding class for a BodyPart to be processed which does CRLF canocicalisation if
dealing with non-binary data.
-
Constructor Summary
ConstructorsConstructorDescriptionCMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart) Create a processable with the default transfer encoding of 7bitCMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart, String defaultContentTransferEncoding) Create a processable with the a default transfer encoding of the passed in value. -
Method Summary
-
Constructor Details
-
CMSProcessableBodyPartOutbound
public CMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart) Create a processable with the default transfer encoding of 7bit- Parameters:
bodyPart- body part to be processed
-
CMSProcessableBodyPartOutbound
public CMSProcessableBodyPartOutbound(javax.mail.BodyPart bodyPart, String defaultContentTransferEncoding) Create a processable with the a default transfer encoding of the passed in value.- Parameters:
bodyPart- body part to be processeddefaultContentTransferEncoding- the new default to use.
-
-
Method Details
-
write
- Specified by:
writein interfaceorg.bouncycastle.cms.CMSProcessable- Throws:
IOExceptionorg.bouncycastle.cms.CMSException
-
getContent
- Specified by:
getContentin interfaceorg.bouncycastle.cms.CMSProcessable
-