RSA.DecryptValue(Byte[]) メソッド

定義

注意事項

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

派生クラスでオーバーライドされると、秘密キーを使用して入力データの暗号化を解除します。

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()

パラメーター

rgb
Byte[]

暗号化を解除する暗号テキスト。

返品

Byte[]

プレーン テキストでの rgb パラメーターの結果の復号化。

属性

例外

このメソッド呼び出しはサポートされていません。 この例外は、.NET Framework 4.6 以降でスローされます。

注釈

.NET Framework 4.5.2 以前のバージョンの .NET Framework では、このメソッドは abstract でした。 ただし、 RSACryptoServiceProvider.DecryptValue派生クラスによる唯一の実装でも、 NotSupportedException 例外がスローされました。

適用対象

こちらもご覧ください