DSACryptoServiceProvider.VerifyData(Byte[], Byte[]) Método
Definição
Verifica os dados de assinatura especificada comparando-os à assinatura calculada para os dados especificados.Verifies the specified signature data by comparing it to the signature computed for the specified data.
public:
bool VerifyData(cli::array <System::Byte> ^ rgbData, cli::array <System::Byte> ^ rgbSignature);
public bool VerifyData (byte[] rgbData, byte[] rgbSignature);
override this.VerifyData : byte[] * byte[] -> bool
member this.VerifyData : byte[] * byte[] -> bool
Public Function VerifyData (rgbData As Byte(), rgbSignature As Byte()) As Boolean
Parâmetros
- rgbData
- Byte[]
Os dados que receberam um sinal.The data that was signed.
- rgbSignature
- Byte[]
Os dados de assinatura a serem verificados.The signature data to be verified.
Retornos
true se a assinatura verificada for válida; caso contrário, false.true if the signature verifies as valid; otherwise, false.
Comentários
Esse método verifica a DSA assinatura digital produzida pelo SignData .This method verifies the DSA digital signature produced by SignData.
DSA usa o SHA1 algoritmo de hash.DSA uses the SHA1 hash algorithm.