Hpke.Open 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Open(Byte[], Byte[], Byte[], Byte[])
- Source:
- Hpke.cs
public byte[] Open(byte[] encapsulatedSecret, byte[] ciphertext, byte[]? associatedData = default, byte[]? info = default);
member this.Open : byte[] * byte[] * byte[] * byte[] -> byte[]
Public Function Open (encapsulatedSecret As Byte(), ciphertext As Byte(), Optional associatedData As Byte() = Nothing, Optional info As Byte() = Nothing) As Byte()
参数
- encapsulatedSecret
- Byte[]
- ciphertext
- Byte[]
- associatedData
- Byte[]
- info
- Byte[]
返回
Byte[]
适用于
Open(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
- Source:
- Hpke.cs
public byte[] Open(ReadOnlySpan<byte> encapsulatedSecret, ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> associatedData = default, ReadOnlySpan<byte> info = default);
member this.Open : ReadOnlySpan<byte> * ReadOnlySpan<byte> * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> byte[]
Public Function Open (encapsulatedSecret As ReadOnlySpan(Of Byte), ciphertext As ReadOnlySpan(Of Byte), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing, Optional info As ReadOnlySpan(Of Byte) = Nothing) As Byte()
参数
- encapsulatedSecret
- ReadOnlySpan<Byte>
- ciphertext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>
返回
Byte[]
适用于
Open(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
- Source:
- Hpke.cs
public void Open(ReadOnlySpan<byte> encapsulatedSecret, ReadOnlySpan<byte> ciphertext, Span<byte> plaintext, ReadOnlySpan<byte> associatedData = default, ReadOnlySpan<byte> info = default);
member this.Open : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> unit
Public Sub Open (encapsulatedSecret As ReadOnlySpan(Of Byte), ciphertext As ReadOnlySpan(Of Byte), plaintext As Span(Of Byte), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing, Optional info As ReadOnlySpan(Of Byte) = Nothing)
参数
- encapsulatedSecret
- ReadOnlySpan<Byte>
- ciphertext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>