Language

RsaSecurityToken コンストラクター

定義

RsaSecurityToken クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
RsaSecurityToken(RSA)

指定した RSA アルゴリズムを使用して、 RsaSecurityToken クラスの新しいインスタンスを初期化します。

RsaSecurityToken(RSA, String)

指定した RSA アルゴリズムと一意識別子を使用して、 RsaSecurityToken クラスの新しいインスタンスを初期化します。

RsaSecurityToken(RSA)

指定した RSA アルゴリズムを使用して、 RsaSecurityToken クラスの新しいインスタンスを初期化します。

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

パラメーター

rsa
RSA

非対称キーを作成できる RSA アルゴリズムを表す RSA 。 Rsa プロパティの値を設定します。

例外

rsa は nullです。

注釈

このコンストラクターは、セキュリティ トークンの一意の識別子を生成し、 Id プロパティの値に設定します。

適用対象

RsaSecurityToken(RSA, String)

指定した RSA アルゴリズムと一意識別子を使用して、 RsaSecurityToken クラスの新しいインスタンスを初期化します。

public:
 RsaSecurityToken(System::Security::Cryptography::RSA ^ rsa, System::String ^ id);
public RsaSecurityToken(System.Security.Cryptography.RSA rsa, string id);
new System.IdentityModel.Tokens.RsaSecurityToken : System.Security.Cryptography.RSA * string -> System.IdentityModel.Tokens.RsaSecurityToken
Public Sub New (rsa As RSA, id As String)

パラメーター

rsa
RSA

非対称キーを作成できる RSA アルゴリズムを表す RSA 。 Rsa プロパティの値を設定します。

id
String

セキュリティ トークンの一意識別子。 Id プロパティの値を設定します。

例外

rsa は nullです。

-又は-

id は nullです。

適用対象