ECDsa.VerifyHash 메서드

정의

오버로드

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

제공된 해시의 디지털 시그니처가 유효한지 확인합니다.

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

제공된 해시의 디지털 시그니처가 유효한지 확인합니다.

VerifyHash(Byte[], Byte[])

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

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

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

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

제공된 해시의 디지털 시그니처가 유효한지 확인합니다.

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의 인코딩 형식입니다.

반환

Boolean

디지털 시그니처가 제공된 데이터에 유효하면 true이고, 그렇지 않으면 false입니다.

예외

hash 또는 signaturenull인 경우

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

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

적용 대상

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

제공된 해시의 디지털 시그니처가 유효한지 확인합니다.

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의 인코딩 형식입니다.

반환

Boolean

디지털 시그니처가 제공된 데이터에 유효하면 true이고, 그렇지 않으면 false입니다.

예외

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

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

적용 대상

VerifyHash(Byte[], Byte[])

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

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[]

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

반환

Boolean

서명이 유효한 경우 true이고, 그러지 않으면 false입니다.

예외

hash 또는 signaturenull인 경우

적용 대상

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

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

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>

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

반환

Boolean

서명이 유효한 경우 true이고, 그러지 않으면 false입니다.

적용 대상