MLDsa.VerifyMu 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
驗證數位簽章是否適用於外部計算的簽章 mu(μ)值。
多載
| 名稱 | Description |
|---|---|
| VerifyMu(Byte[], Byte[]) |
驗證數位簽章是否適用於外部計算的簽章 mu(μ)值。 |
| VerifyMu(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) |
驗證數位簽章是否適用於外部計算的簽章 mu(μ)值。 |
VerifyMu(Byte[], Byte[])
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
驗證數位簽章是否適用於外部計算的簽章 mu(μ)值。
public:
bool VerifyMu(cli::array <System::Byte> ^ externalMu, cli::array <System::Byte> ^ signature);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public bool VerifyMu(byte[] externalMu, byte[] signature);
public bool VerifyMu(byte[] externalMu, byte[] signature);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.VerifyMu : byte[] * byte[] -> bool
member this.VerifyMu : byte[] * byte[] -> bool
Public Function VerifyMu (externalMu As Byte(), signature As Byte()) As Boolean
參數
- externalMu
- Byte[]
簽名的 mu 值。
- signature
- Byte[]
簽名來驗證。
傳回
true若數位簽章對所提供的 Mu 值有效;否則,。 false
- 屬性
例外狀況
externalMu 或 signature 為 null。
適用於
VerifyMu(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
- 來源:
- MLDsa.cs
驗證數位簽章是否適用於外部計算的簽章 mu(μ)值。
public:
bool VerifyMu(ReadOnlySpan<System::Byte> externalMu, ReadOnlySpan<System::Byte> signature);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public bool VerifyMu(ReadOnlySpan<byte> externalMu, ReadOnlySpan<byte> signature);
public bool VerifyMu(ReadOnlySpan<byte> externalMu, ReadOnlySpan<byte> signature);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.VerifyMu : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
member this.VerifyMu : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
Public Function VerifyMu (externalMu As ReadOnlySpan(Of Byte), signature As ReadOnlySpan(Of Byte)) As Boolean
參數
- externalMu
- ReadOnlySpan<Byte>
簽名的 mu 值。
- signature
- ReadOnlySpan<Byte>
簽名來驗證。
傳回
true若數位簽章對所提供的 Mu 值有效;否則,。 false
- 屬性
例外狀況
這個實例已經被處理掉了。
在驗證 mu 值時發生錯誤。
目前平台不支援外部計算的 mu 值驗證。