XtsStream Class
Namespace: Rebex.Security
Assembly: Rebex.Security.dll (version 7.0.8944)
Implements XTS-AES, a standard algorithm for protection of stored data defined by IEEE P1619.
Syntax
public class XtsStream : Stream, IAsyncDisposable, IDisposable
Inherited Members
Constructors
Fields
Name | Description |
---|---|
DefaultBlockSize | Default block size (64 KB). |
Properties
Name | Description |
---|---|
BlockSize | Gets a size of one XTS block in bytes |
CanRead | Gets a value indicating whether the stream supports reading. |
CanSeek | Gets a value indicating whether the stream supports seeking. |
CanWrite | Gets a value indicating whether the stream supports writing. |
Length | Gets the length in bytes of the stream. |
Position | Gets or sets the position within the stream. |
Methods
Name | Description |
---|---|
Dispose(Boolean) | Releases resources used by this stream. |
Flush() | Clears all buffers for this stream and causes any buffered data to be written to the underlying device. |
Read(Byte[], Int32, Int32) | Reads a sequence of bytes from the stream and advances the position within the stream by the number of bytes read. |
Seek(Int64, SeekOrigin) | Sets the position within the stream. |
SetLength(Int64) | Sets the length of the stream. |
Write(Byte[], Int32, Int32) | Writes a sequence of bytes to the stream and advances the current position within this stream by the number of bytes written. |