RSA.DecryptValue(Byte[]) Méthode

Définition

Attention

RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.

En cas de substitution dans une classe dérivée, déchiffre les données d’entrée à l’aide de la clé privée.

public:
 virtual cli::array <System::Byte> ^ DecryptValue(cli::array <System::Byte> ^ rgb);
public:
 abstract cli::array <System::Byte> ^ DecryptValue(cli::array <System::Byte> ^ rgb);
[System.Obsolete("RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.", DiagnosticId="SYSLIB0048", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public virtual byte[] DecryptValue(byte[] rgb);
public virtual byte[] DecryptValue(byte[] rgb);
public abstract byte[] DecryptValue(byte[] rgb);
[<System.Obsolete("RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.", DiagnosticId="SYSLIB0048", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member DecryptValue : byte[] -> byte[]
override this.DecryptValue : byte[] -> byte[]
abstract member DecryptValue : byte[] -> byte[]
override this.DecryptValue : byte[] -> byte[]
abstract member DecryptValue : byte[] -> byte[]
Public Overridable Function DecryptValue (rgb As Byte()) As Byte()
Public MustOverride Function DecryptValue (rgb As Byte()) As Byte()

Paramètres

rgb
Byte[]

Texte chiffré à déchiffrer.

Retours

Byte[]

Déchiffrement résultant du rgb paramètre en texte brut.

Attributs

Exceptions

Cet appel de méthode n’est pas pris en charge. Cette exception est levée à partir du .NET Framework 4.6.

Remarques

Dans .NET Framework 4.5.2 et les versions antérieures de .NET Framework, cette méthode était abstract. Toutefois, la seule implémentation par une classe dérivée, RSACryptoServiceProvider.DecryptValuea également levé une NotSupportedException exception.

S’applique à

Voir aussi