Initializes a new instance of the XtsStream class.

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

Syntax

Visual Basic
Public Sub New ( _
	filePath As String, _
	key As AsymmetricKeyAlgorithm, _
	settings As XtsSettings _
)
C#
public XtsStream(
	string filePath,
	AsymmetricKeyAlgorithm key,
	XtsSettings settings
)

Parameters

filePath
Type: System..::..String
The base stream that contains or will contain encrypted data in the Rebex XTS format.
key
Type: Rebex.Security.Cryptography..::..AsymmetricKeyAlgorithm
The public key used to encrypt a randomly-generated password.
settings
Type: Rebex.Security..::..XtsSettings
XTS settings.

Exceptions

ExceptionCondition
System..::..NotSupportedExceptionfilePath is not readable or seekable.
System..::..ArgumentNullExceptionfilePath is null.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also