UseKey コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
UseKey クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| UseKey() |
UseKey クラスの新しいインスタンスを初期化します。 |
| UseKey(SecurityKeyIdentifier) |
指定したセキュリティ キー識別子を使用して、 UseKey クラスの新しいインスタンスを初期化します。 |
| UseKey(SecurityToken) |
指定したセキュリティ トークンを使用して、 UseKey クラスの新しいインスタンスを初期化します。 |
| UseKey(SecurityKeyIdentifier, SecurityToken) |
指定したセキュリティ キー識別子とセキュリティ トークンを使用して、 UseKey クラスの新しいインスタンスを初期化します。 |
UseKey()
UseKey クラスの新しいインスタンスを初期化します。
public:
UseKey();
public UseKey();
Public Sub New ()
注釈
拡張性のコンストラクター。
適用対象
UseKey(SecurityKeyIdentifier)
指定したセキュリティ キー識別子を使用して、 UseKey クラスの新しいインスタンスを初期化します。
public:
UseKey(System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ski);
public UseKey(System.IdentityModel.Tokens.SecurityKeyIdentifier ski);
new System.IdentityModel.Protocols.WSTrust.UseKey : System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.IdentityModel.Protocols.WSTrust.UseKey
Public Sub New (ski As SecurityKeyIdentifier)
パラメーター
使用する必要がある既存のキーを表す SecurityKeyIdentifier 。
注釈
要求元がトークンをセキュリティ キー識別子に変換する方法を認識している場合、またはトークンが既にセキュリティ キー識別子である場合は、このコンストラクターを使用します。
Token プロパティは、新しいUseKey インスタンスでnullに設定されます。
適用対象
UseKey(SecurityToken)
指定したセキュリティ トークンを使用して、 UseKey クラスの新しいインスタンスを初期化します。
public:
UseKey(System::IdentityModel::Tokens::SecurityToken ^ token);
public UseKey(System.IdentityModel.Tokens.SecurityToken token);
new System.IdentityModel.Protocols.WSTrust.UseKey : System.IdentityModel.Tokens.SecurityToken -> System.IdentityModel.Protocols.WSTrust.UseKey
Public Sub New (token As SecurityToken)
パラメーター
- token
- SecurityToken
使用する必要がある既存のキーを表す SecurityToken 。
注釈
SecurityKeyIdentifier プロパティは、新しいUseKey インスタンスでnullに設定されます。
適用対象
UseKey(SecurityKeyIdentifier, SecurityToken)
指定したセキュリティ キー識別子とセキュリティ トークンを使用して、 UseKey クラスの新しいインスタンスを初期化します。
public:
UseKey(System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ski, System::IdentityModel::Tokens::SecurityToken ^ token);
public UseKey(System.IdentityModel.Tokens.SecurityKeyIdentifier ski, System.IdentityModel.Tokens.SecurityToken token);
new System.IdentityModel.Protocols.WSTrust.UseKey : System.IdentityModel.Tokens.SecurityKeyIdentifier * System.IdentityModel.Tokens.SecurityToken -> System.IdentityModel.Protocols.WSTrust.UseKey
Public Sub New (ski As SecurityKeyIdentifier, token As SecurityToken)
パラメーター
使用する必要がある既存のキーを表す SecurityKeyIdentifier 。
- token
- SecurityToken
使用する必要がある既存のキーを表す SecurityToken 。
注釈
このコンストラクターを使用して、シリアライザーからセキュリティ トークン サービス (STS) に詳細情報を渡します。