SymmetricAlgorithm.TryDecryptCfbCore メソッド

定義

派生クラスでオーバーライドされると、指定したパディング モードとフィードバック サイズの CFB モードを使用して、指定したバッファーにデータを復号化しようとします。

protected:
 virtual bool TryDecryptCfbCore(ReadOnlySpan<System::Byte> ciphertext, ReadOnlySpan<System::Byte> iv, Span<System::Byte> destination, System::Security::Cryptography::PaddingMode paddingMode, int feedbackSizeInBits, [Runtime::InteropServices::Out] int % bytesWritten);
protected virtual bool TryDecryptCfbCore(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> iv, Span<byte> destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, out int bytesWritten);
abstract member TryDecryptCfbCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> * System.Security.Cryptography.PaddingMode * int * int -> bool
override this.TryDecryptCfbCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> * System.Security.Cryptography.PaddingMode * int * int -> bool
Protected Overridable Function TryDecryptCfbCore (ciphertext As ReadOnlySpan(Of Byte), iv As ReadOnlySpan(Of Byte), destination As Span(Of Byte), paddingMode As PaddingMode, feedbackSizeInBits As Integer, ByRef bytesWritten As Integer) As Boolean

パラメーター

ciphertext
ReadOnlySpan<Byte>

復号化するデータ。

iv
ReadOnlySpan<Byte>

初期化ベクター。

destination
Span<Byte>

プレーンテキスト データを受信するバッファー。

paddingMode
PaddingMode

暗号化テキストを生成し、復号化中に削除するために使用されるパディング モード。

feedbackSizeInBits
Int32

ビット単位で指定されたフィードバック サイズ。

bytesWritten
Int32

このメソッドから制御が戻るときに、 destinationに書き込まれた合計バイト数が格納されます。

返品

true destinationが復号化されたデータを受信するのに十分な大きさであった場合は。それ以外の場合はfalse

例外

派生クラスが実装を提供していません。

注釈

派生クラスはこれをオーバーライドし、実装を提供する必要があります。

適用対象