DSACryptoServiceProvider.VerifySignature(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 DSA signature for the specified data.
public:
override bool VerifySignature(cli::array <System::Byte> ^ rgbHash, cli::array <System::Byte> ^ rgbSignature);
public override bool VerifySignature (byte[] rgbHash, byte[] rgbSignature);
override this.VerifySignature : byte[] * byte[] -> bool
Public Overrides Function VerifySignature (rgbHash As Byte(), rgbSignature As Byte()) As Boolean
Parameters
- rgbHash
- Byte[]
The data signed with rgbSignature
.
- rgbSignature
- Byte[]
The signature to be verified for rgbData
.
Returns
true
if rgbSignature
matches the signature computed using the specified hash algorithm and key on rgbHash
; otherwise, false
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.