MLDsa.VerifyPreHashCore 메서드

정의

파생 클래스에서 재정의되는 경우 지정된 해시 및 컨텍스트의 사전 해시 서명을 확인합니다.

protected:
 abstract bool VerifyPreHashCore(ReadOnlySpan<System::Byte> hash, ReadOnlySpan<System::Byte> context, System::String ^ hashAlgorithmOid, ReadOnlySpan<System::Byte> signature);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected abstract bool VerifyPreHashCore(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> context, string hashAlgorithmOid, ReadOnlySpan<byte> signature);
protected abstract bool VerifyPreHashCore(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> context, string hashAlgorithmOid, ReadOnlySpan<byte> signature);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member VerifyPreHashCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * string * ReadOnlySpan<byte> -> bool
abstract member VerifyPreHashCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * string * ReadOnlySpan<byte> -> bool
Protected MustOverride Function VerifyPreHashCore (hash As ReadOnlySpan(Of Byte), context As ReadOnlySpan(Of Byte), hashAlgorithmOid As String, signature As ReadOnlySpan(Of Byte)) As Boolean

매개 변수

hash
ReadOnlySpan<Byte>

확인할 데이터입니다.

context
ReadOnlySpan<Byte>

서명 컨텍스트입니다.

hashAlgorithmOid
String

해시를 만드는 데 사용되는 해시 알고리즘의 OID입니다.

signature
ReadOnlySpan<Byte>

확인할 서명입니다.

반품

true서명이 해시의 유효성을 검사하는 경우 그렇지 않으면 . false

특성

예외

해시를 확인하는 동안 오류가 발생했습니다.

적용 대상