CryptoStringExtensions..::..Encrypt Method (String, X509Certificate2, RSAEncryptionPadding)
Encrypts the specified certificate.
Namespace:
SystemAssembly: Walter.Cypher (in Walter.Cypher.dll)
Syntax
public static string Encrypt( this string text, X509Certificate2 certificate, RSAEncryptionPadding padding )
Parameters
- text
- Type: String
The text.
- certificate
- Type: X509Certificate2
The certificate.
- padding
- Type: RSAEncryptionPadding
The padding.