語言

BinaryKeyIdentifierClause 建構函式

定義

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

多載

名稱 Description
BinaryKeyIdentifierClause(String, Byte[], Boolean)

使用指定的金鑰識別子句類型、二進位資料及指示是否必須複製二進位資料的值,初始化該類別的新 BinaryKeyIdentifierClause 實例。

BinaryKeyIdentifierClause(String, Byte[], Boolean, Byte[], Int32)

使用指定的金鑰識別碼子句類型、二進位資料、指示是否必須克隆二進位資料的值、nonce 以及金鑰長度來初始化該 BinaryKeyIdentifierClause 類別的新實例。

BinaryKeyIdentifierClause(String, Byte[], Boolean)

來源:
BinaryKeyIdentifierClause.cs
來源:
BinaryKeyIdentifierClause.cs
來源:
BinaryKeyIdentifierClause.cs

使用指定的金鑰識別子句類型、二進位資料及指示是否必須複製二進位資料的值,初始化該類別的新 BinaryKeyIdentifierClause 實例。

protected:
 BinaryKeyIdentifierClause(System::String ^ clauseType, cli::array <System::Byte> ^ identificationData, bool cloneBuffer);
protected BinaryKeyIdentifierClause(string clauseType, byte[] identificationData, bool cloneBuffer);
new System.IdentityModel.Tokens.BinaryKeyIdentifierClause : string * byte[] * bool -> System.IdentityModel.Tokens.BinaryKeyIdentifierClause
Protected Sub New (clauseType As String, identificationData As Byte(), cloneBuffer As Boolean)

參數

clauseType
String

鍵識別子句類型。 設定房產價值 ClauseType 。

identificationData
Byte[]

其中一個陣列 Byte 包含代表金鑰識別碼的二進位資料。

cloneBuffer
Boolean

true將陣列克隆為參數identificationData;否則,。 false

例外狀況

identificationData 是 null。

identificationData 為零長度。

適用於

BinaryKeyIdentifierClause(String, Byte[], Boolean, Byte[], Int32)

來源:
BinaryKeyIdentifierClause.cs
來源:
BinaryKeyIdentifierClause.cs
來源:
BinaryKeyIdentifierClause.cs

使用指定的金鑰識別碼子句類型、二進位資料、指示是否必須克隆二進位資料的值、nonce 以及金鑰長度來初始化該 BinaryKeyIdentifierClause 類別的新實例。

protected:
 BinaryKeyIdentifierClause(System::String ^ clauseType, cli::array <System::Byte> ^ identificationData, bool cloneBuffer, cli::array <System::Byte> ^ derivationNonce, int derivationLength);
protected BinaryKeyIdentifierClause(string clauseType, byte[] identificationData, bool cloneBuffer, byte[] derivationNonce, int derivationLength);
new System.IdentityModel.Tokens.BinaryKeyIdentifierClause : string * byte[] * bool * byte[] * int -> System.IdentityModel.Tokens.BinaryKeyIdentifierClause
Protected Sub New (clauseType As String, identificationData As Byte(), cloneBuffer As Boolean, derivationNonce As Byte(), derivationLength As Integer)

參數

clauseType
String

鍵識別子句類型。 設定房產價值 ClauseType 。

identificationData
Byte[]

其中一個陣列 Byte 包含代表金鑰識別碼的二進位資料。 設定方法回傳 GetBuffer() 的二進位資料。

cloneBuffer
Boolean

true將陣列克隆為參數identificationData;否則,。 false

derivationNonce
Byte[]

其中一個陣列 Byte 包含用來建立衍生金鑰的 nonce。 設定方法回傳 GetDerivationNonce() 的值。

derivationLength
Int32

導出金鑰的大小。 設定房產價值 DerivationLength 。

例外狀況

identificationData 是 null。

identificationData 為零長度。

備註

當derivationNoncederivationLength參數指定時,會使用隱含導出金鑰取代代幣的直接安全金鑰。

無論參數中傳遞 cloneBuffer 的值為何, GetBuffer 方法總是回傳輸入參數陣列 identificationData 的克隆。

適用於