01: package org.bouncycastle.cms;
02:
03: import java.io.IOException;
04: import java.io.OutputStream;
05:
06: public interface CMSProcessable {
07: /**
08: * generic routine to copy out the data we want processed - the OutputStream
09: * passed in will do the handling on it's own.
10: * <p>
11: * Note: this routine may be called multiple times.
12: */
13: public void write(OutputStream out) throws IOException,
14: CMSException;
15:
16: public Object getContent();
17: }
|