SetOutputStream Method
The stream to which the component will write the signed or verified XML.
Syntax
public void setOutputStream(java.io.OutputStream outputStream);
Remarks
This method sets the stream to which the bean will write the signed or verified XML. If an output stream is set before calling Sign or VerifySignature, the bean will write the data to the output stream instead of populating OutputXML or writing to OutputFile.
Input and Output Properties
The bean will determine the source and destination of the input and output based on which properties are set.
The order in which the input properties are checked is as follows:
When a valid source is found the search stops. The order in which the output properties are checked is as follows:- SetOutputStream
- OutputFile
- OutputXML: The output data is written to this property if no other destination is specified.