点击或拖拽改变大小

HslExtensionDecryptLargeData 方法

对超过117字节限制的加密数据进行解密,解密出原始的字节数据,因为RSA本身限制了117字节,所以此处进行数据切割解密。
Decrypt the encrypted data that exceeds the 117-byte limit and decrypt the original byte data, because RSA itself limits 117 bytes, so the data is cut and decrypted here.

命名空间:  HslCommunication
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public static byte[] DecryptLargeData(
	this RSACryptoServiceProvider rsa,
	byte[] data
)

参数

rsa
类型:System.Security.CryptographyRSACryptoServiceProvider

[缺少 "M:HslCommunication.HslExtension.DecryptLargeData(System.Security.Cryptography.RSACryptoServiceProvider,System.Byte[])" 的 <param name="rsa"/> 文档]

data
类型:SystemByte
等待解密的数据

返回值

类型:Byte
解密之后的结果数据

备注

在 Visual Basic 和 C# 中,这个方法可以当成为类型 RSACryptoServiceProvider 的实例方法来调用。在采用实例方法语法调用这个方法时,请省略第一个参数。请参考 扩展方法 (Visual Basic)扩展方法 (C# 编程指南) 获取更多信息。
参见