MLKem.ExportEncapsulationKey Metod

Definition

Överlagringar

Name Description
ExportEncapsulationKey(Span<Byte>)

Exporterar inkapslingsnyckeln till den angivna bufferten.

ExportEncapsulationKey()

Exporterar inkapslingsnyckeln.

ExportEncapsulationKey(Span<Byte>)

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

Exporterar inkapslingsnyckeln till den angivna bufferten.

public:
 void ExportEncapsulationKey(Span<System::Byte> destination);
public void ExportEncapsulationKey(Span<byte> destination);
member this.ExportEncapsulationKey : Span<byte> -> unit
Public Sub ExportEncapsulationKey (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.

Ett fel uppstod när inkapslingsnyckeln skulle exporteras.

Objektet har redan tagits bort.

Gäller för

ExportEncapsulationKey()

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

Exporterar inkapslingsnyckeln.

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

Returer

Byte[]

Inkapslingsnyckeln.

Undantag

Ett fel uppstod när inkapslingsnyckeln skulle exporteras.

Objektet har redan tagits bort.

Gäller för