Compartir a través de


RSACryptoServiceProvider.DecryptValue(Byte[]) Método

Definición

Precaución

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

Este método no es compatible con la versión actual.

public:
 override cli::array <System::Byte> ^ DecryptValue(cli::array <System::Byte> ^ rgb);
public override 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}")]
public override byte[] DecryptValue (byte[] rgb);
override this.DecryptValue : byte[] -> byte[]
[<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}")>]
override this.DecryptValue : byte[] -> byte[]
Public Overrides Function DecryptValue (rgb As Byte()) As Byte()

Parámetros

rgb
Byte[]

Datos que se van a descifrar.

Devoluciones

Byte[]

Los datos descifrados, que es el texto sin formato original antes del cifrado.

Atributos

Excepciones

Este método no es compatible con la versión actual.

Se aplica a

Consulte también