Skip to content

ExportPrivateKey Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Crypto.dll

string ExportPrivateKey(X509Certificate2 certificate, AsymmetricAlgorithm algorithm, bool wrapWithHeader = null, string keyString = null) ​

csharp
string ExportPrivateKey(X509Certificate2 certificate, AsymmetricAlgorithm algorithm, bool wrapWithHeader = null, string keyString = null)

Export the Private key as an RSA encoded