Appearance
RsaExtensions Class
Definition
Extension methods for the RSA class
- Namespace:
JASE.Extensions - Assembly:
JASE.Crypto.dll
Methods
| Name | Description |
|---|---|
string ExportPrivateKey(RSAParameters parameters, KeyFormat format = null, bool wrapWithheader = null) | Exports the private RSA key in the specified format. |
string ExportPublicKey(RSAParameters parameters, KeyFormat format, bool wrapWithheader = null) | Exports the public RSA key in the specified format. |
RSAParameters FromXmlString(RSAParameters parameters, string xmlString) | Import RSAParameters from XML |
string ToXmlString(RSA rsa, bool includePrivateParameters) | Returns RSAParameters in XML format |
string ToXmlString(RSAParameters parameters) | Returns RSAParameters in XML format |