MLDsa.ImportMLDsaPrivateSeed 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從其私有種子值匯入 ML-DSA 私鑰。
多載
| 名稱 | Description |
|---|---|
| ImportMLDsaPrivateSeed(MLDsaAlgorithm, Byte[]) |
從其私有種子值匯入 ML-DSA 私鑰。 |
| ImportMLDsaPrivateSeed(MLDsaAlgorithm, ReadOnlySpan<Byte>) |
從其私有種子值匯入 ML-DSA 私鑰。 |
ImportMLDsaPrivateSeed(MLDsaAlgorithm, Byte[])
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
從其私有種子值匯入 ML-DSA 私鑰。
public:
static System::Security::Cryptography::MLDsa ^ ImportMLDsaPrivateSeed(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPrivateSeed(System.Security.Cryptography.MLDsaAlgorithm algorithm, byte[] source);
static member ImportMLDsaPrivateSeed : System.Security.Cryptography.MLDsaAlgorithm * byte[] -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPrivateSeed (algorithm As MLDsaAlgorithm, source As Byte()) As MLDsa
參數
- algorithm
- MLDsaAlgorithm
這個密鑰的具體 ML-DSA 演算法。
- source
- Byte[]
位元組是密鑰種子。
傳回
匯入的金鑰。
例外狀況
algorithm 或 source 為 null。
適用於
ImportMLDsaPrivateSeed(MLDsaAlgorithm, ReadOnlySpan<Byte>)
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
從其私有種子值匯入 ML-DSA 私鑰。
public:
static System::Security::Cryptography::MLDsa ^ ImportMLDsaPrivateSeed(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPrivateSeed(System.Security.Cryptography.MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source);
static member ImportMLDsaPrivateSeed : System.Security.Cryptography.MLDsaAlgorithm * ReadOnlySpan<byte> -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPrivateSeed (algorithm As MLDsaAlgorithm, source As ReadOnlySpan(Of Byte)) As MLDsa
參數
- algorithm
- MLDsaAlgorithm
這個密鑰的具體 ML-DSA 演算法。
- source
- ReadOnlySpan<Byte>
位元組是密鑰種子。
傳回
匯入的金鑰。