metodo System::Security::Cryptography::DSACryptoServiceProvider::VerifyData

DSACryptoServiceProvider::VerifyData(const ByteArrayPtr&, const ByteArrayPtr&) method

Controlla la firma dei dati.

bool System::Security::Cryptography::DSACryptoServiceProvider::VerifyData(const ByteArrayPtr &buffer, const ByteArrayPtr &signature)
ParametroTipoDescrizione
bufferconst ByteArrayPtr&Data per verificare la firma.
signatureconst ByteArrayPtr&Firma così come ricevuta.

ReturnValue

True se la firma è valida, false altrimenti.

Vedi anche

DSACryptoServiceProvider::VerifyData(const ByteArrayPtr&, const ByteArrayPtr&, const HashAlgorithmName&) method

Verifica che la firma dei dati specificati sia valida.

bool System::Security::Cryptography::DSA::VerifyData(const ByteArrayPtr &data, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm)
ParametroTipoDescrizione
daticonst ByteArrayPtr&Dati firmati.
signatureconst ByteArrayPtr&Dati della firma.
hash_algorithmconst HashAlgorithmName&Algoritmo di hash. restituisce true se la firma è valida, altrimenti - false.

Vedi anche

DSACryptoServiceProvider::VerifyData(const ByteArrayPtr&, int32_t, int32_t, const ByteArrayPtr&, const HashAlgorithmName&) method

Verifica che la firma dei dati specificati sia valida.

bool System::Security::Cryptography::DSA::VerifyData(const ByteArrayPtr &data, int32_t offset, int32_t count, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm)
ParametroTipoDescrizione
daticonst ByteArrayPtr&Dati firmati.
offsetint32_tScostamento in data.
countint32_tNumero di byte da hashare.
signatureconst ByteArrayPtr&Dati della firma.
hash_algorithmconst HashAlgorithmName&Algoritmo di hash. restituisce true se la firma è valida, altrimenti - false.

Vedi anche

DSACryptoServiceProvider::VerifyData(const StreamPtr&, const ByteArrayPtr&, const HashAlgorithmName&) method

Verifica che la firma del flusso binario specificato sia valida.

bool System::Security::Cryptography::DSA::VerifyData(const StreamPtr &stream, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm)
ParametroTipoDescrizione
streamconst StreamPtr&Dati firmati.
signatureconst ByteArrayPtr&Dati della firma.
hash_algorithmconst HashAlgorithmName&Algoritmo di hash. restituisce true se la firma è valida, altrimenti - false.

Vedi anche