RSAHelperCreateRsaProviderFromPrivateKey 方法 |
名称 | 说明 | |
---|---|---|
CreateRsaProviderFromPrivateKey(Byte) |
使用原始的私钥数据(PEM格式)来创建一个 RSA 算法加密解密的对象,可以直接用于加密解密操作 Use the original private key data (PEM format) to create an RSA algorithm encryption and decryption object, which can be directly used for encryption and decryption operations | |
CreateRsaProviderFromPrivateKey(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 |