Class SymmetricDecryptStream
The implementation of SilverbackCryptoStream based on a SymmetricAlgorithm used to decrypt the messages.
Inherited Members
Namespace: Silverback.Messaging.Encryption
Assembly: Silverback.Integration.dll
Syntax
public class SymmetricDecryptStream : SilverbackCryptoStream, IAsyncDisposable, IDisposable
Constructors
| Improve this doc View sourceSymmetricDecryptStream(Stream, SymmetricDecryptionSettings, string?)
Initializes a new instance of the SymmetricDecryptStream class.
Declaration
public SymmetricDecryptStream(Stream stream, SymmetricDecryptionSettings settings, string? keyIdentifier = null)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The inner Stream to read the encrypted message from. |
SymmetricDecryptionSettings | settings | The SymmetricDecryptionSettings specifying the cryptographic algorithm settings. |
string | keyIdentifier | The key identifier to retrieve the encryption key. |
Properties
| Improve this doc View sourceCryptoStream
Gets the underlying CryptoStream.
Declaration
protected override CryptoStream CryptoStream { get; }
Property Value
Type | Description |
---|---|
CryptoStream |
Overrides
Methods
| Improve this doc View sourceDispose(bool)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |