Hpke.CreatePskRecipient 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| CreatePskRecipient(Byte[], Byte[], Byte[], Byte[]) | |
| CreatePskRecipient(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) |
CreatePskRecipient(Byte[], Byte[], Byte[], Byte[])
public System.Security.Cryptography.HpkeRecipient CreatePskRecipient(byte[] encapsulatedSecret, byte[] psk, byte[] pskId, byte[]? info = default);
member this.CreatePskRecipient : byte[] * byte[] * byte[] * byte[] -> System.Security.Cryptography.HpkeRecipient
Public Function CreatePskRecipient (encapsulatedSecret As Byte(), psk As Byte(), pskId As Byte(), Optional info As Byte() = Nothing) As HpkeRecipient
參數
- encapsulatedSecret
- Byte[]
- psk
- Byte[]
- pskId
- Byte[]
- info
- Byte[]
傳回
適用於
CreatePskRecipient(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
public System.Security.Cryptography.HpkeRecipient CreatePskRecipient(ReadOnlySpan<byte> encapsulatedSecret, ReadOnlySpan<byte> psk, ReadOnlySpan<byte> pskId, ReadOnlySpan<byte> info = default);
member this.CreatePskRecipient : ReadOnlySpan<byte> * ReadOnlySpan<byte> * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> System.Security.Cryptography.HpkeRecipient
Public Function CreatePskRecipient (encapsulatedSecret As ReadOnlySpan(Of Byte), psk As ReadOnlySpan(Of Byte), pskId As ReadOnlySpan(Of Byte), Optional info As ReadOnlySpan(Of Byte) = Nothing) As HpkeRecipient
參數
- encapsulatedSecret
- ReadOnlySpan<Byte>
- psk
- ReadOnlySpan<Byte>
- pskId
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>