ProtectedKey コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ProtectedKey クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| ProtectedKey(Byte[]) |
暗号化を使用せず、 ProtectedKey クラスの新しいインスタンスを初期化します。 |
| ProtectedKey(Byte[], EncryptingCredentials) |
指定した暗号化資格情報を使用して、 ProtectedKey クラスの新しいインスタンスを初期化します。 |
ProtectedKey(Byte[])
暗号化を使用せず、 ProtectedKey クラスの新しいインスタンスを初期化します。
public:
ProtectedKey(cli::array <System::Byte> ^ secret);
public ProtectedKey(byte[] secret);
new System.IdentityModel.Protocols.WSTrust.ProtectedKey : byte[] -> System.IdentityModel.Protocols.WSTrust.ProtectedKey
Public Sub New (secret As Byte())
パラメーター
注釈
このコンストラクターを使用して、キー マテリアルをクリア テキストで送信します。
WrappingCredentials プロパティは、新しいProtectedKey インスタンスでnullに設定されます。
適用対象
ProtectedKey(Byte[], EncryptingCredentials)
指定した暗号化資格情報を使用して、 ProtectedKey クラスの新しいインスタンスを初期化します。
public:
ProtectedKey(cli::array <System::Byte> ^ secret, System::IdentityModel::Tokens::EncryptingCredentials ^ wrappingCredentials);
public ProtectedKey(byte[] secret, System.IdentityModel.Tokens.EncryptingCredentials wrappingCredentials);
new System.IdentityModel.Protocols.WSTrust.ProtectedKey : byte[] * System.IdentityModel.Tokens.EncryptingCredentials -> System.IdentityModel.Protocols.WSTrust.ProtectedKey
Public Sub New (secret As Byte(), wrappingCredentials As EncryptingCredentials)
パラメーター
- wrappingCredentials
- EncryptingCredentials
キー マテリアルの暗号化に使用する資格情報を含む EncryptingCredentials 。
注釈
暗号化されたキー マテリアルを送信するには、このコンストラクターを使用します。