MLKem.ExportDecapsulationKey Metod

Definition

Överlagringar

Name Description
ExportDecapsulationKey()

Exporterar inkapslingsnyckeln.

ExportDecapsulationKey(Span<Byte>)

Exporterar inkapslingsnyckeln till den angivna bufferten.

ExportDecapsulationKey()

Källa:
MLKem.cs
Källa:
MLKem.cs
Källa:
MLKem.cs

Exporterar inkapslingsnyckeln.

public:
 cli::array <System::Byte> ^ ExportDecapsulationKey();
public byte[] ExportDecapsulationKey();
member this.ExportDecapsulationKey : unit -> byte[]
Public Function ExportDecapsulationKey () As Byte()

Returer

Byte[]

Inkapslingsnyckeln.

Undantag

Den aktuella instansen kan inte exportera en inkapslingsnyckel.

-eller-

Ett fel uppstod när nyckeln skulle importeras.

Objektet har redan tagits bort.

Gäller för

ExportDecapsulationKey(Span<Byte>)

Källa:
MLKem.cs
Källa:
MLKem.cs
Källa:
MLKem.cs

Exporterar inkapslingsnyckeln till den angivna bufferten.

public:
 void ExportDecapsulationKey(Span<System::Byte> destination);
public void ExportDecapsulationKey(Span<byte> destination);
member this.ExportDecapsulationKey : Span<byte> -> unit
Public Sub ExportDecapsulationKey (destination As Span(Of Byte))

Parametrar

destination
Span<Byte>

Bufferten för att ta emot inkapslingsnyckeln.

Undantag

destination är den felaktiga längden för att ta emot inkapslingsnyckeln.

Den aktuella instansen kan inte exportera en inkapslingsnyckel.

-eller-

Ett fel uppstod när nyckeln skulle importeras.

Objektet har redan tagits bort.

Gäller för