語言

MLDsa.ExportMLDsaPublicKey 方法

定義

匯出目前金鑰的公鑰部分,採用 FIPS 204 公鑰格式。

多載

名稱 Description
ExportMLDsaPublicKey(Span<Byte>)

匯出目前金鑰的公鑰部分,採用 FIPS 204 公鑰格式。

ExportMLDsaPublicKey()

匯出目前金鑰的公鑰部分,採用 FIPS 204 公鑰格式。

ExportMLDsaPublicKey(Span<Byte>)

來源:
MLDsa.cs
來源:
MLDsa.cs
來源:
MLDsa.cs

匯出目前金鑰的公鑰部分,採用 FIPS 204 公鑰格式。

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

參數

destination
Span<Byte>

用來接收公開金鑰的緩衝區。 其長度必須恰好 PublicKeySizeInBytes為 。

例外狀況

destination 是接收公鑰的錯誤長度。

匯出金鑰時發生錯誤。

對象已經處置。

備註

destination 必須長度精確 PublicKeySizeInBytes 。

適用於

ExportMLDsaPublicKey()

來源:
MLDsa.cs
來源:
MLDsa.cs
來源:
MLDsa.cs

匯出目前金鑰的公鑰部分,採用 FIPS 204 公鑰格式。

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

傳回

Byte[]

FIPS 204 公開金鑰。

例外狀況

匯出金鑰時發生錯誤。

對象已經處置。

適用於