RSA.DecryptValue(Byte[]) Yöntem

Tanım

Dikkat

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

Türetilmiş bir sınıfta geçersiz kılındığında, özel anahtarı kullanarak giriş verilerinin şifresini çözer.

public:
 virtual cli::array <System::Byte> ^ DecryptValue(cli::array <System::Byte> ^ rgb);
public:
 abstract cli::array <System::Byte> ^ DecryptValue(cli::array <System::Byte> ^ rgb);
public virtual 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 virtual byte[] DecryptValue (byte[] rgb);
public abstract byte[] DecryptValue (byte[] rgb);
abstract member DecryptValue : byte[] -> byte[]
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}")>]
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()

Parametreler

rgb
Byte[]

Şifresi çözülecek şifre metni.

Döndürülenler

Byte[]

Parametrenin düz metin olarak elde edilen rgb şifre çözmesi.

Öznitelikler

Özel durumlar

Bu yöntem çağrısı desteklenmiyor. Bu özel durum, .NET Framework 4.6 ile başlayarak oluşturulur.

Açıklamalar

.NET Framework .NET Framework 4.5.2 ve önceki sürümlerinde bu yöntem şeklindeydiabstract. Bununla birlikte, türetilmiş bir sınıfın tek uygulaması olan RSACryptoServiceProvider.DecryptValue, ayrıca bir NotSupportedException özel durum da oluşturdu.

Şunlara uygulanır

Ayrıca bkz.