public class

CMSProcessableBodyPartOutbound

extends Object
implements CMSProcessable
java.lang.Object
   ↳ org.bouncycastle.mail.smime.CMSProcessableBodyPartOutbound

Class Overview

a holding class for a BodyPart to be processed which does CRLF canocicalisation if dealing with non-binary data.

Summary

Public Constructors
CMSProcessableBodyPartOutbound(BodyPart bodyPart)
Create a processable with the default transfer encoding of 7bit
CMSProcessableBodyPartOutbound(BodyPart bodyPart, String defaultContentTransferEncoding)
Create a processable with the a default transfer encoding of the passed in value.
Public Methods
Object getContent()
void write(OutputStream out)
generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.cms.CMSProcessable

Public Constructors

public CMSProcessableBodyPartOutbound (BodyPart bodyPart)

Create a processable with the default transfer encoding of 7bit

Parameters
bodyPart body part to be processed

public CMSProcessableBodyPartOutbound (BodyPart bodyPart, String defaultContentTransferEncoding)

Create a processable with the a default transfer encoding of the passed in value.

Parameters
bodyPart body part to be processed
defaultContentTransferEncoding the new default to use.

Public Methods

public Object getContent ()

public void write (OutputStream out)

generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.

Note: this routine may be called multiple times.