次の方法で共有


ProtectedKey コンストラクター

定義

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())

パラメーター

secret
Byte[]

保護するキー マテリアルを含む 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)

パラメーター

secret
Byte[]

保護するキー マテリアルを含む Byte の配列。

wrappingCredentials
EncryptingCredentials

キー マテリアルの暗号化に使用する資格情報を含む EncryptingCredentials

注釈

暗号化されたキー マテリアルを送信するには、このコンストラクターを使用します。

適用対象