SymmetricAlgorithm.TryDecryptCfbCore Método

Definición

Cuando se invalida en una clase derivada, intenta descifrar los datos en el búfer especificado, mediante el modo CFB con el modo de relleno especificado y el tamaño de comentarios.

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

Parámetros

ciphertext
ReadOnlySpan<Byte>

Datos que se van a descifrar.

iv
ReadOnlySpan<Byte>

Vector de inicialización.

destination
Span<Byte>

Búfer que va a recibir los datos de texto no cifrado.

paddingMode
PaddingMode

Modo de relleno usado para generar el texto cifrado y quitar durante el descifrado.

feedbackSizeInBits
Int32

Tamaño de comentarios, especificado en bits.

bytesWritten
Int32

Cuando este método devuelve , contiene el número total de bytes escritos en destination.

Devoluciones

true si destination era lo suficientemente grande como para recibir los datos descifrados; de lo contrario, false.

Excepciones

Una clase derivada no ha proporcionado una implementación.

Comentarios

Las clases derivadas deben invalidar esto y proporcionar una implementación.

Se aplica a