RSAHelperCreateRsaProviderFromPublicKey 方法 (Byte) |
使用原始的公钥数据(PEM格式)来创建一个 RSA 算法加密解密的对象,可以直接用于加密或是验证签名操作
Use the original public key data (PEM format) to create an RSA algorithm encryption and decryption object,
which can be directly used for encryption or signature verification
命名空间:
HslCommunication.Core.Security
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.2.0.0 (12.2.0.0)
语法 public static RSACryptoServiceProvider CreateRsaProviderFromPublicKey(
byte[] publicKey
)
Public Shared Function CreateRsaProviderFromPublicKey (
publicKey As Byte()
) As RSACryptoServiceProvider
public:
static RSACryptoServiceProvider^ CreateRsaProviderFromPublicKey(
array<unsigned char>^ publicKey
)
static member CreateRsaProviderFromPublicKey :
publicKey : byte[] -> RSACryptoServiceProvider
参数
- publicKey
- 类型:SystemByte
公钥
返回值
类型:
RSACryptoServiceProviderRSA 算法的加密解密对象
参见