RSAOpenSsl.VerifyHash 메서드

정의

지정된 해시 알고리즘 및 패딩을 사용하여 서명의 해시 값을 확인하고 제공된 해시 값과 비교하여 디지털 서명이 유효한지 확인합니다.

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

매개 변수

hash
Byte[]
signature
Byte[]
hashAlgorithm
HashAlgorithmName

반품

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

예외

hash 또는 padding .입니다 null.

hashAlgorithm. .Name is null 또는 Empty.

padding 알 수 없거나 이 구현에서 지원되지 않습니다.

적용 대상