Language

Hpke.CreatePskRecipient Method

Definition

Overloads

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>

Returns

Applies to