HpkeRecipient.Open 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 |
|---|---|
| Open(Byte[], Byte[]) | |
| Open(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) | |
| Open(ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>) |
Open(Byte[], Byte[])
Open(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
public byte[] Open(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> associatedData = default);
member this.Open : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> byte[]
Public Function Open (ciphertext As ReadOnlySpan(Of Byte), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing) As Byte()
Parameters
- ciphertext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>
Returns
Applies to
Open(ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)
public void Open(ReadOnlySpan<byte> ciphertext, Span<byte> plaintext, ReadOnlySpan<byte> associatedData = default);
member this.Open : ReadOnlySpan<byte> * Span<byte> * ReadOnlySpan<byte> -> unit
Public Sub Open (ciphertext As ReadOnlySpan(Of Byte), plaintext As Span(Of Byte), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing)
Parameters
- ciphertext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>