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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.