MLDsa.ExportMLDsaPrivateKey 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
匯出目前的金鑰,採用 FIPS 204 私鑰格式。
多載
| 名稱 | Description |
|---|---|
| ExportMLDsaPrivateKey() |
匯出目前的金鑰,採用 FIPS 204 私鑰格式。 |
| ExportMLDsaPrivateKey(Span<Byte>) |
匯出目前的金鑰,採用 FIPS 204 私鑰格式。 |
ExportMLDsaPrivateKey()
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
匯出目前的金鑰,採用 FIPS 204 私鑰格式。
public:
cli::array <System::Byte> ^ ExportMLDsaPrivateKey();
public byte[] ExportMLDsaPrivateKey();
member this.ExportMLDsaPrivateKey : unit -> byte[]
Public Function ExportMLDsaPrivateKey () As Byte()
傳回
Byte[]
FIPS 204 私鑰。
例外狀況
對象已經處置。
適用於
ExportMLDsaPrivateKey(Span<Byte>)
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
匯出目前的金鑰,採用 FIPS 204 私鑰格式。
public:
void ExportMLDsaPrivateKey(Span<System::Byte> destination);
public void ExportMLDsaPrivateKey(Span<byte> destination);
member this.ExportMLDsaPrivateKey : Span<byte> -> unit
Public Sub ExportMLDsaPrivateKey (destination As Span(Of Byte))
參數
接收私鑰的緩衝區。 其長度必須恰好 PrivateKeySizeInBytes為 。
例外狀況
destination 是接收私鑰的錯誤長度。
匯出金鑰時發生錯誤。