using System;
using System.IO;
namespace Org.BouncyCastle.Cms
{
public interface CmsProcessable
{
///
/// Return a stream from which the data can be read.
///
///
/// This routine may be called more than once, but previous returned
/// streams should be closed first.
///
Stream Read();
///
/// Generic routine to copy out the data we want processed.
///
///
/// This routine may be called multiple times.
///
void Write(Stream outStream);
object GetContent();
}
}