Class SilverbackCryptoStream
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Inheritance
SilverbackCryptoStream
Assembly: Silverback.Integration.dll
Syntax
public abstract class SilverbackCryptoStream : Stream, IDisposable, IAsyncDisposable
Constructors
SilverbackCryptoStream()
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
protected SilverbackCryptoStream()
Properties
CanRead
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override bool CanRead { get; }
Property Value
Overrides
CanSeek
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override bool CanSeek { get; }
Property Value
Overrides
CanWrite
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override bool CanWrite { get; }
Property Value
Overrides
CryptoStream
Declaration
protected abstract CryptoStream CryptoStream { get; }
Property Value
Length
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override long Length { get; }
Property Value
Overrides
Position
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override long Position { get; set; }
Property Value
Overrides
Methods
Close()
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override void Close()
Overrides
Flush()
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override void Flush()
Overrides
FlushAsync(CancellationToken)
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override Task FlushAsync(CancellationToken cancellationToken)
Parameters
Returns
Overrides
Read(byte[], int, int)
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override int Read(byte[] buffer, int offset, int count)
Parameters
| Type |
Name |
Description |
| byte[] |
buffer |
|
| int |
offset |
|
| int |
count |
|
Returns
Overrides
Read(Span<byte>)
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override int Read(Span<byte> buffer)
Parameters
Returns
Overrides
ReadAsync(byte[], int, int, CancellationToken)
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Parameters
Returns
Overrides
ReadAsync(Memory<byte>, CancellationToken)
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
Seek(long, SeekOrigin)
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override long Seek(long offset, SeekOrigin origin)
Parameters
Returns
Overrides
SetLength(long)
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override void SetLength(long value)
Parameters
| Type |
Name |
Description |
| long |
value |
|
Overrides
Write(byte[], int, int)
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override void Write(byte[] buffer, int offset, int count)
Parameters
| Type |
Name |
Description |
| byte[] |
buffer |
|
| int |
offset |
|
| int |
count |
|
Overrides
WriteAsync(byte[], int, int, CancellationToken)
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Parameters
Returns
Overrides
WriteAsync(ReadOnlyMemory<byte>, CancellationToken)
The base class for the Stream implementations used to encrypt and decrypt the integration messages.
Declaration
public override ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
Implements