点击或拖拽改变大小

RSAHelperCreateRsaProviderFromPrivateKey 方法 (String)

使用 PEM 格式基于base64编码的私钥来创建一个 RSA 算法加密解密的对象,可以直接用于加密解密操作
Use the PEM format based on the base64-encoded private key to create an RSA algorithm encryption and decryption object, which can be directly used for encryption and decryption operations

命名空间:  HslCommunication.Core.Security
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static RSACryptoServiceProvider CreateRsaProviderFromPrivateKey(
	string privateKeyString
)

参数

privateKeyString
类型:SystemString
私钥

返回值

类型:RSACryptoServiceProvider
RSA 算法的加密解密对象
参见