Mono Class Library: System.Security.Cryptography.RSA Overview | Members

System.Security.Cryptography.RSA.ExportParameters Method

Export the instance key into a System.Security.Cryptography.RSAParameters structure.

public abstract RSAParameters ExportParameters (bool includePrivateParameters)

Parameters

includePrivateParameters
True to include private parameters; otherwise, false.

Returns

a RSAParameters structure contaning each parameters of the key.

Remarks

You are responsable to zeroize the private key (System.Security.Cryptography.RSAParameters parameters RSAParameters.D, RSAParameters.P, RSAParameters.Q, RSAParameters.DP, RSAParameters.DQ and RSAParameters.InverseQ) if you export it from the instance.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0