Top Fields Constructors Methods
org.bouncycastle.cms

pack-priv Class CMSProcessableInputStream

extends Object
implements CMSProcessable, CMSReadable
Class Inheritance
All Implemented Interfaces
org.bouncycastle.cms.CMSReadable, org.bouncycastle.cms.CMSProcessable
Imports
java.io.IOException, .InputStream, .OutputStream, org.bouncycastle.util.io.Streams

Field Summary

Modifier and TypeField and Description
private InputStream
private boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private synchronized void
public Object
public InputStream
public void
write(OutputStream zOut)

Implements org.bouncycastle.cms.CMSProcessable.write.

generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

inputback to summary
private InputStream input
usedback to summary
private boolean used

Constructor Detail

CMSProcessableInputStreamback to summary
public CMSProcessableInputStream(InputStream input)

Method Detail

checkSingleUsageback to summary
private synchronized void checkSingleUsage()
getContentback to summary
public Object getContent()

Implements org.bouncycastle.cms.CMSProcessable.getContent.

getInputStreamback to summary
public InputStream getInputStream()

Implements org.bouncycastle.cms.CMSReadable.getInputStream.

writeback to summary
public void write(OutputStream zOut) throws IOException, CMSException

Implements org.bouncycastle.cms.CMSProcessable.write.

Doc from org.bouncycastle.cms.CMSProcessable.write.

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.