Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RSA::VerifyData Method

 

Verifies that a digital signature is valid.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodVerifyData(array<Byte>^, array<Byte>^, HashAlgorithmName, RSASignaturePadding^)

Verifies that a digital signature is valid by calculating the hash value of the specified data using the specified hash algorithm and padding, and comparing it to the provided signature.

System_CAPS_pubmethodVerifyData(array<Byte>^, Int32, Int32, array<Byte>^, HashAlgorithmName, RSASignaturePadding^)

Verifies that a digital signature is valid by calculating the hash value of the data in a portion of a byte array using the specified hash algorithm and padding, and comparing it to the provided signature.

System_CAPS_pubmethodVerifyData(Stream^, array<Byte>^, HashAlgorithmName, RSASignaturePadding^)

Verifies that a digital signature is valid by calculating the hash value of the specified stream using the specified hash algorithm and padding, and comparing it to the provided signature.

Return to top
Show:
© 2017 Microsoft