BinarySecretKeyIdentifierClause 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 BinarySecretKeyIdentifierClause 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| BinarySecretKeyIdentifierClause(Byte[]) |
使用指定的鍵初始化該類別的新實例 BinarySecretKeyIdentifierClause 。 |
| BinarySecretKeyIdentifierClause(Byte[], Boolean) |
使用指定的值初始化該類別的新實例 BinarySecretKeyIdentifierClause 。 |
| BinarySecretKeyIdentifierClause(Byte[], Boolean, Byte[], Int32) |
使用指定的值初始化該類別的新實例 BinarySecretKeyIdentifierClause 。 |
BinarySecretKeyIdentifierClause(Byte[])
使用指定的鍵初始化該類別的新實例 BinarySecretKeyIdentifierClause 。
public:
BinarySecretKeyIdentifierClause(cli::array <System::Byte> ^ key);
public BinarySecretKeyIdentifierClause(byte[] key);
new System.ServiceModel.Security.BinarySecretKeyIdentifierClause : byte[] -> System.ServiceModel.Security.BinarySecretKeyIdentifierClause
Public Sub New (key As Byte())
參數
適用於
BinarySecretKeyIdentifierClause(Byte[], Boolean)
使用指定的值初始化該類別的新實例 BinarySecretKeyIdentifierClause 。
public:
BinarySecretKeyIdentifierClause(cli::array <System::Byte> ^ key, bool cloneBuffer);
public BinarySecretKeyIdentifierClause(byte[] key, bool cloneBuffer);
new System.ServiceModel.Security.BinarySecretKeyIdentifierClause : byte[] * bool -> System.ServiceModel.Security.BinarySecretKeyIdentifierClause
Public Sub New (key As Byte(), cloneBuffer As Boolean)
參數
- cloneBuffer
- Boolean
true克隆緩衝區;否則,。 false
適用於
BinarySecretKeyIdentifierClause(Byte[], Boolean, Byte[], Int32)
使用指定的值初始化該類別的新實例 BinarySecretKeyIdentifierClause 。
public:
BinarySecretKeyIdentifierClause(cli::array <System::Byte> ^ key, bool cloneBuffer, cli::array <System::Byte> ^ derivationNonce, int derivationLength);
public BinarySecretKeyIdentifierClause(byte[] key, bool cloneBuffer, byte[] derivationNonce, int derivationLength);
new System.ServiceModel.Security.BinarySecretKeyIdentifierClause : byte[] * bool * byte[] * int -> System.ServiceModel.Security.BinarySecretKeyIdentifierClause
Public Sub New (key As Byte(), cloneBuffer As Boolean, derivationNonce As Byte(), derivationLength As Integer)
參數
- cloneBuffer
- Boolean
true克隆緩衝區;否則,。 false
- derivationNonce
- Byte[]
用來推導金鑰的「使用一次的數字」(nonce)。
- derivationLength
- Int32
要推導的鍵長度。