org.testifyproject.bouncycastle.cms.CMSProcessable Maven / Gradle / Ivy
package org.testifyproject.bouncycastle.cms;
import java.org.testifyproject.testifyproject.IOException;
import java.org.testifyproject.testifyproject.OutputStream;
/**
* Use CMSTypedData instead of this. See CMSProcessableFile/ByteArray for org.testifyproject.testifyprojectfaults.
*/
public interface CMSProcessable
{
/**
* 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.
*/
public void write(OutputStream out)
throws IOException, CMSException;
public Object getContent();
}