SetOutputStream Method
Sets the stream to which received data should be written.
Syntax
public fun setOutputStream(outputStream: OutputStream?)
Remarks
This method sets the stream to which data should be written when GetSecret is called.
Note: Passing a non-null value for OutputStream will cause the LocalFile property to be cleared. Similarly, setting LocalFile to a non-empty value will discard any stream set using this method.