Initializes a new instance of the XtsStream class.

Namespace:  Rebex.Security
Assembly:  Rebex.Security (in Rebex.Security.dll)

Syntax

Visual Basic
Public Sub New ( _
	baseStream As Stream, _
	password As String, _
	settings As XtsSettings _
)
C#
public XtsStream(
	Stream baseStream,
	string password,
	XtsSettings settings
)

Parameters

baseStream
Type: System.IO..::..Stream
The base stream that contains or will contain encrypted data in the Rebex XTS format.
password
Type: System..::..String
The password that is used to generate the encryption key.
settings
Type: Rebex.Security..::..XtsSettings
XTS settings.

Exceptions

ExceptionCondition
System..::..NotSupportedExceptionbaseStream is not readable or seekable.
System..::..ArgumentNullExceptionbaseStream or password is null.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also