Return an output stream which will encrypt the data as it is written to it.

The stream created can be closed off by either calling Close() on the stream or Close() on the generator. Closing the returned stream does not close off the Stream parameter outStr.

Namespace: Org.BouncyCastle.Bcpg.OpenPgp
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public Stream Open(
	Stream outStr,
	long length
)
Visual Basic
Public Function Open ( _
	outStr As Stream, _
	length As Long _
) As Stream
Visual C++
public:
Stream^ Open(
	Stream^ outStr, 
	long long length
)

Parameters

outStr
Type: System.IO..::..Stream
length
Type: System..::..Int64

See Also