Certificate.GetRSAParameters Method
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9448)
GetRSAParameters()
Returns the RSA parameters of certificate's public key.
Declaration
public RSAParameters GetRSAParameters()
Returns
| Type | Description |
|---|---|
| RSAParameters | The RSA parameters of certificate's public key. |
GetRSAParameters(Boolean, Boolean)
Returns the RSA parameters of certificate's public or private key.
Declaration
public RSAParameters GetRSAParameters(bool exportPrivateKeys, bool silent)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | exportPrivateKeys | True if private key parameters are to be exported as well. |
| Boolean | silent | If set to true, the cryptographic provider should not display any user interface (UI) when exporting private key parameters. |
Returns
| Type | Description |
|---|---|
| RSAParameters | The RSA parameters of certificate's public or private key. |