SetOutputStream Method
The stream to which the component will write the encrypted or decrypted XML.
Syntax
public void setOutputStream(java.io.OutputStream outputStream);
Remarks
This method sets the stream to which the component will write the encrypted or decrypted XML. If an output stream is set before calling Encrypt or Decrypt, the component will write the data to the output stream instead of populating OutputXML or writing to OutputFile.
Input and Output Properties
The component 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.