RSACryptoServiceProvider.DecryptValue(Byte[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead.
当前版本不支持此方法。
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()
参数
- rgb
- Byte[]
要解密的数据。
返回
Byte[]
已解密的数据,它是加密前的原始纯文本。
- 属性
例外
当前版本不支持此方法。