Hpke.CreatePskSender 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
CreatePskSender(Byte[], Byte[], Byte[], Byte[])
public System.Security.Cryptography.HpkeSender CreatePskSender(byte[] psk, byte[] pskId, out byte[] encapsulatedSecret, byte[]? info = default);
member this.CreatePskSender : byte[] * byte[] * Byte[] * byte[] -> System.Security.Cryptography.HpkeSender
Public Function CreatePskSender (psk As Byte(), pskId As Byte(), ByRef encapsulatedSecret As Byte(), Optional info As Byte() = Nothing) As HpkeSender
Parameters
- psk
- Byte[]
- pskId
- Byte[]
- encapsulatedSecret
- Byte[]
- info
- Byte[]
Returns
Applies to
CreatePskSender(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Byte[], ReadOnlySpan<Byte>)
public System.Security.Cryptography.HpkeSender CreatePskSender(ReadOnlySpan<byte> psk, ReadOnlySpan<byte> pskId, out byte[] encapsulatedSecret, ReadOnlySpan<byte> info = default);
member this.CreatePskSender : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Byte[] * ReadOnlySpan<byte> -> System.Security.Cryptography.HpkeSender
Public Function CreatePskSender (psk As ReadOnlySpan(Of Byte), pskId As ReadOnlySpan(Of Byte), ByRef encapsulatedSecret As Byte(), Optional info As ReadOnlySpan(Of Byte) = Nothing) As HpkeSender
Parameters
- psk
- ReadOnlySpan<Byte>
- pskId
- ReadOnlySpan<Byte>
- encapsulatedSecret
- Byte[]
- info
- ReadOnlySpan<Byte>
Returns
Applies to
CreatePskSender(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)
public System.Security.Cryptography.HpkeSender CreatePskSender(ReadOnlySpan<byte> psk, ReadOnlySpan<byte> pskId, Span<byte> encapsulatedSecret, ReadOnlySpan<byte> info = default);
member this.CreatePskSender : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> * ReadOnlySpan<byte> -> System.Security.Cryptography.HpkeSender
Public Function CreatePskSender (psk As ReadOnlySpan(Of Byte), pskId As ReadOnlySpan(Of Byte), encapsulatedSecret As Span(Of Byte), Optional info As ReadOnlySpan(Of Byte) = Nothing) As HpkeSender
Parameters
- psk
- ReadOnlySpan<Byte>
- pskId
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>