|
Bouncy Castle Cryptography Library 1.44 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.mail.smime.CMSProcessableBodyPartOutbound
public class CMSProcessableBodyPartOutbound
a holding class for a BodyPart to be processed which does CRLF canocicalisation if dealing with non-binary data.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.Object |
getContent()
|
void |
write(java.io.OutputStream out)
generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public void write(java.io.OutputStream out) throws java.io.IOException, CMSException
CMSProcessable
Note: this routine may be called multiple times.
write
in interface CMSProcessable
java.io.IOException
CMSException
public java.lang.Object getContent()
getContent
in interface CMSProcessable
|
Bouncy Castle Cryptography Library 1.44 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |