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