ECDsa.VerifyHash 메서드

정의

오버로드

Name Description
VerifyHash(Byte[], Byte[], DSASignatureFormat)

디지털 서명이 제공된 해시에 유효한지 확인합니다.

VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, DSASignatureFormat)

디지털 서명이 제공된 해시에 유효한지 확인합니다.

VerifyHash(Byte[], Byte[])

디지털 서명이 현재 키 및 제공된 데이터 해시에 적합한지 확인합니다.

VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

디지털 서명이 현재 키 및 제공된 데이터 해시에 적합한지 확인합니다.

VerifyHash(Byte[], Byte[], DSASignatureFormat)

Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs

디지털 서명이 제공된 해시에 유효한지 확인합니다.

public:
 bool VerifyHash(cli::array <System::Byte> ^ hash, cli::array <System::Byte> ^ signature, System::Security::Cryptography::DSASignatureFormat signatureFormat);
public bool VerifyHash(byte[] hash, byte[] signature, System.Security.Cryptography.DSASignatureFormat signatureFormat);
member this.VerifyHash : byte[] * byte[] * System.Security.Cryptography.DSASignatureFormat -> bool
Public Function VerifyHash (hash As Byte(), signature As Byte(), signatureFormat As DSASignatureFormat) As Boolean

매개 변수

hash
Byte[]

서명된 해시입니다.

signature
Byte[]

확인할 서명입니다.

signatureFormat
DSASignatureFormat

에 대한 인코딩 형식입니다 signature.

반품

true디지털 서명이 제공된 데이터에 유효하면 이고, 그렇지 않으면 . false

예외

hash 또는 signature .입니다 null.

signatureFormat 가 알려진 형식이 아닙니다.

확인 작업에서 오류가 발생했습니다.

적용 대상

VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, DSASignatureFormat)

Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs

디지털 서명이 제공된 해시에 유효한지 확인합니다.

public:
 bool VerifyHash(ReadOnlySpan<System::Byte> hash, ReadOnlySpan<System::Byte> signature, System::Security::Cryptography::DSASignatureFormat signatureFormat);
public bool VerifyHash(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> signature, System.Security.Cryptography.DSASignatureFormat signatureFormat);
member this.VerifyHash : ReadOnlySpan<byte> * ReadOnlySpan<byte> * System.Security.Cryptography.DSASignatureFormat -> bool
Public Function VerifyHash (hash As ReadOnlySpan(Of Byte), signature As ReadOnlySpan(Of Byte), signatureFormat As DSASignatureFormat) As Boolean

매개 변수

hash
ReadOnlySpan<Byte>

서명된 해시입니다.

signature
ReadOnlySpan<Byte>

확인할 서명입니다.

signatureFormat
DSASignatureFormat

에 대한 인코딩 형식입니다 signature.

반품

true디지털 서명이 제공된 데이터에 유효하면 이고, 그렇지 않으면 . false

예외

signatureFormat 가 알려진 형식이 아닙니다.

확인 작업에서 오류가 발생했습니다.

적용 대상

VerifyHash(Byte[], Byte[])

Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs

디지털 서명이 현재 키 및 제공된 데이터 해시에 적합한지 확인합니다.

public:
 abstract bool VerifyHash(cli::array <System::Byte> ^ hash, cli::array <System::Byte> ^ signature);
public abstract bool VerifyHash(byte[] hash, byte[] signature);
abstract member VerifyHash : byte[] * byte[] -> bool
Public MustOverride Function VerifyHash (hash As Byte(), signature As Byte()) As Boolean

매개 변수

hash
Byte[]

확인할 데이터의 해시 값입니다.

signature
Byte[]

해시 값에 대해 확인할 데이터의 디지털 서명입니다.

반품

true서명이 유효한 경우 그렇지 않으면 . false

예외

hash 또는 signature .입니다 null.

적용 대상

VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs
Source:
ECDsa.cs

디지털 서명이 현재 키 및 제공된 데이터 해시에 적합한지 확인합니다.

public:
 virtual bool VerifyHash(ReadOnlySpan<System::Byte> hash, ReadOnlySpan<System::Byte> signature);
public virtual bool VerifyHash(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> signature);
abstract member VerifyHash : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
override this.VerifyHash : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
Public Overridable Function VerifyHash (hash As ReadOnlySpan(Of Byte), signature As ReadOnlySpan(Of Byte)) As Boolean

매개 변수

hash
ReadOnlySpan<Byte>

확인할 데이터의 해시 값입니다.

signature
ReadOnlySpan<Byte>

해시 값에 대해 확인할 데이터의 디지털 서명입니다.

반품

true서명이 유효한 경우 그렇지 않으면 . false

적용 대상