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

RSACryptoServiceProvider::VerifyData method

Comprueba la firma de los datos.

bool System::Security::Cryptography::RSACryptoServiceProvider::VerifyData(const ByteArrayPtr &buffer, const SharedPtr<Object> &halg, const ByteArrayPtr &signature)
ParámetroTipoDescripción
bufferconst ByteArrayPtr&Data para verificar la firma.
halgconst SharedPtr<Object>&Algoritmo de hash a usar.
firmaconst ByteArrayPtr&Firma tal como se recibió.

ReturnValue

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

Ver también