Hpke.Seal Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
Seal(Byte[], Byte[], Byte[], Byte[], Byte[])
public void Seal(byte[] plaintext, out byte[] encapsulatedSecret, out byte[] ciphertext, byte[]? associatedData = default, byte[]? info = default);
member this.Seal : byte[] * Byte[] * Byte[] * byte[] * byte[] -> unit
Public Sub Seal (plaintext As Byte(), ByRef encapsulatedSecret As Byte(), ByRef ciphertext As Byte(), Optional associatedData As Byte() = Nothing, Optional info As Byte() = Nothing)
Parametrar
- plaintext
- Byte[]
- encapsulatedSecret
- Byte[]
- ciphertext
- Byte[]
- associatedData
- Byte[]
- info
- Byte[]
Gäller för
Seal(ReadOnlySpan<Byte>, Byte[], Byte[], ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
public void Seal(ReadOnlySpan<byte> plaintext, out byte[] encapsulatedSecret, out byte[] ciphertext, ReadOnlySpan<byte> associatedData = default, ReadOnlySpan<byte> info = default);
member this.Seal : ReadOnlySpan<byte> * Byte[] * Byte[] * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> unit
Public Sub Seal (plaintext As ReadOnlySpan(Of Byte), ByRef encapsulatedSecret As Byte(), ByRef ciphertext As Byte(), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing, Optional info As ReadOnlySpan(Of Byte) = Nothing)
Parametrar
- plaintext
- ReadOnlySpan<Byte>
- encapsulatedSecret
- Byte[]
- ciphertext
- Byte[]
- associatedData
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>
Gäller för
Seal(ReadOnlySpan<Byte>, Span<Byte>, Span<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
public void Seal(ReadOnlySpan<byte> plaintext, Span<byte> encapsulatedSecret, Span<byte> ciphertext, ReadOnlySpan<byte> associatedData = default, ReadOnlySpan<byte> info = default);
member this.Seal : ReadOnlySpan<byte> * Span<byte> * Span<byte> * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> unit
Public Sub Seal (plaintext As ReadOnlySpan(Of Byte), encapsulatedSecret As Span(Of Byte), ciphertext As Span(Of Byte), Optional associatedData As ReadOnlySpan(Of Byte) = Nothing, Optional info As ReadOnlySpan(Of Byte) = Nothing)
Parametrar
- plaintext
- ReadOnlySpan<Byte>
- associatedData
- ReadOnlySpan<Byte>
- info
- ReadOnlySpan<Byte>