ECDsaCng.VerifyHash 메서드

정의

오버로드

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

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

VerifyHash(Byte[], Byte[])

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

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

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

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

매개 변수

hash
ReadOnlySpan<Byte>

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

signature
ReadOnlySpan<Byte>

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

반환

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

적용 대상

VerifyHash(Byte[], Byte[])

Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs
Source:
Cng.NotSupported.cs

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

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

매개 변수

hash
Byte[]

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

signature
Byte[]

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

반환

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

특성

예외

hash 또는 signaturenull인 경우

적용 대상