DSACryptoServiceProvider.VerifyData(Byte[], Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- rgbData
- Byte[]
The data that was signed.
- rgbSignature
- Byte[]
The signature data to be verified.
Returns
true
if the signature verifies as valid; otherwise, false
.
Remarks
This method verifies the DSA digital signature produced by SignData.
DSA uses the SHA1 hash algorithm.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.