Returns the RSA parameters of certificate's public or private key.

Namespace:  Rebex.Security.Certificates
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Function GetRSAParameters ( _
	exportPrivateKeys As Boolean, _
	silent As Boolean _
) As RSAParameters
C#
public RSAParameters GetRSAParameters(
	bool exportPrivateKeys,
	bool silent
)

Parameters

exportPrivateKeys
Type: System..::..Boolean
True if private key parameters are to be exported as well.
silent
Type: System..::..Boolean
If set to true, the cryptographic provider should not display any user interface (UI) when exporting private key parameters.

Return Value

The RSA parameters of certificate's public or private key.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also