Hpke.CreatePskRecipient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | 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
Parameters
- encapsulatedSecret
- Byte[]
- psk
- Byte[]
- pskId
- Byte[]
- info
- Byte[]
Returns
Applies to
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
Parameters
- encapsulatedSecret
- ReadOnlySpan<Byte>
- psk
- ReadOnlySpan<Byte>
- pskId
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>