ECDsa.VerifyHash ECDsa.VerifyHash ECDsa.VerifyHash ECDsa.VerifyHash Method

Definice

Přetížení

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

Ověří digitální podpis proti zadané hodnotě hash.Verifies a digital signature against the specified hash value.

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

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

Ověří digitální podpis proti zadané hodnotě hash.Verifies a digital signature against the specified hash value.

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

Parametry

hash
Byte[]

Hodnota hash bloku dat.The hash value of a block of data.

signature
Byte[]

Digitální podpis, který se má ověřitThe digital signature to be verified.

Návraty

truePokud hodnota hash se shoduje s dešifrovaným podpisem; v opačném případě. falsetrue if the hash value equals the decrypted signature; otherwise, false.

Poznámky

Signatura se nejprve dešifruje pomocí veřejného klíče a pak porovná hodnotě hash pro ověření.The signature is first decrypted by using the public key, and then compared to the hash value for verification.

VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) 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

Parametry

signature
ReadOnlySpan<Byte>

Návraty

Platí pro