Show / Hide Table of Contents

CreateFromParameters Method

CreateFromParameters(RSAParameters)

Creates a new instance of RSAPublicKey from the given parameters.

C#
public static RSAPublicKey CreateFromParameters(RSAParameters parameters)

Parameters

Type Name Description
RSAParameters parameters

The RSA parameters containing the public key data.

Returns

RSAPublicKey

A new instance of RSAPublicKey.

Exceptions

Type Condition
ArgumentException

Thrown if the parameters contain private key data.

In this article
Back to top Generated by DocFX