Edit

Share via


DSAOpenSsl.ExportParameters(Boolean) Method

Definition

Exports the DSAParameters representing this key.

public:
 override System::Security::Cryptography::DSAParameters ExportParameters(bool includePrivateParameters);
public override System.Security.Cryptography.DSAParameters ExportParameters (bool includePrivateParameters);
override this.ExportParameters : bool -> System.Security.Cryptography.DSAParameters
Public Overrides Function ExportParameters (includePrivateParameters As Boolean) As DSAParameters

Parameters

includePrivateParameters
Boolean

true to include private parameters; otherwise, false.

Returns

The DSA parameters for the current cryptographic key.

Exceptions

includePrivateParameters is true, but this instance represents only a DSA public key.

Applies to