語言

WrappedKeySecurityToken 建構函式

定義

初始化 WrappedKeySecurityToken 類別的新執行個體。

public:
 WrappedKeySecurityToken(System::String ^ id, cli::array <System::Byte> ^ keyToWrap, System::String ^ wrappingAlgorithm, System::IdentityModel::Tokens::SecurityToken ^ wrappingToken, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ wrappingTokenReference);
public WrappedKeySecurityToken(string id, byte[] keyToWrap, string wrappingAlgorithm, System.IdentityModel.Tokens.SecurityToken wrappingToken, System.IdentityModel.Tokens.SecurityKeyIdentifier wrappingTokenReference);
new System.ServiceModel.Security.Tokens.WrappedKeySecurityToken : string * byte[] * string * System.IdentityModel.Tokens.SecurityToken * System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.ServiceModel.Security.Tokens.WrappedKeySecurityToken
Public Sub New (id As String, keyToWrap As Byte(), wrappingAlgorithm As String, wrappingToken As SecurityToken, wrappingTokenReference As SecurityKeyIdentifier)

參數

id
String

金鑰標記的 ID。

keyToWrap
Byte[]

要包好的鑰匙。

wrappingAlgorithm
String

用來做包裝的演算法。

wrappingToken
SecurityToken

代表包裝標記的 A SecurityToken 。

wrappingTokenReference
SecurityKeyIdentifier

SecurityKeyIdentifier A 代表對包裝標記的參考。

適用於