Redigera

Dela via


RsaSecurityKey(RSA) Constructor

Definition

Initializes a new instance of the RsaSecurityKey class using the specified RSA algorithm.

public:
 RsaSecurityKey(System::Security::Cryptography::RSA ^ rsa);
public RsaSecurityKey (System.Security.Cryptography.RSA rsa);
new System.IdentityModel.Tokens.RsaSecurityKey : System.Security.Cryptography.RSA -> System.IdentityModel.Tokens.RsaSecurityKey
Public Sub New (rsa As RSA)

Parameters

rsa
RSA

An RSA that represents an RSA algorithm.

Exceptions

rsa is null.

Applies to