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