RSAOpenSsl.VerifyHash Methode

Definitie

Controleert of een digitale handtekening geldig is door de hash-waarde in de handtekening te bepalen met behulp van het opgegeven hash-algoritme en opvulling, en deze te vergelijken met de opgegeven hashwaarde.

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

Parameters

hash
Byte[]
signature
Byte[]
hashAlgorithm
HashAlgorithmName

Retouren

true indien de handtekening geldig is; anders, false.

Uitzonderingen

hash of padding is null.

hashAlgorithm.Name is null of Empty.

padding is onbekend of wordt niet ondersteund door deze implementatie.

Van toepassing op