org.bouncycastle.cms

Class CMSProcessableByteArray

Implemented Interfaces:
CMSProcessable
Known Direct Subclasses:
CMSEnvelopableByteArray, CMSSignableByteArray

public class CMSProcessableByteArray
extends java.lang.Object
implements CMSProcessable

a holding class for a byte array of data to be compressed.

Constructor Summary

CMSProcessableByteArray(byte[] bytes)

Method Summary

Object
getContent()
void
write(OutputStream zOut)
generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.

Constructor Details

CMSProcessableByteArray

public CMSProcessableByteArray(byte[] bytes)

Method Details

getContent

public Object getContent()
Specified by:
getContent in interface CMSProcessable


write

public void write(OutputStream zOut)
            throws IOException,
                   CMSException
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.

Specified by:
write in interface CMSProcessable