System::Security::Cryptography::RSACryptoServiceProvider::VerifyHash método

RSACryptoServiceProvider::VerifyHash(ByteArrayPtr, ByteArrayPtr, const HashAlgorithmName&, SharedPtr<RSASignaturePadding>) method

Verifica que la firma del hash especificado sea válida.

bool System::Security::Cryptography::RSACryptoServiceProvider::VerifyHash(ByteArrayPtr hash, ByteArrayPtr signature, const HashAlgorithmName &hash_algorithm, SharedPtr<RSASignaturePadding> padding) override
ParámetroTipoDescripción
hashByteArrayPtrValor hash de los datos firmados.
firmaByteArrayPtrDatos de la firma.
hash_algorithmconst HashAlgorithmName&Algoritmo hash.
rellenoSharedPtr<RSASignaturePadding>Modo de relleno. devuelve true si la firma es válida, de lo contrario - false.

Ver también

RSACryptoServiceProvider::VerifyHash(const ByteArrayPtr&, const String&, const ByteArrayPtr&) method

Comprueba la firma de los datos.

bool System::Security::Cryptography::RSACryptoServiceProvider::VerifyHash(const ByteArrayPtr &rgb_hash, const String &str, const ByteArrayPtr &rgb_signature)
ParámetroTipoDescripción
rgb_hashconst ByteArrayPtr&Hash calculado para los datos recibidos.
strconst String&Nombre del algoritmo hash utilizado.
rgb_signatureconst ByteArrayPtr&Firma tal como se recibió.

ReturnValue

True si la firma es válida, false en caso contrario.

Ver también