DSAOpenSsl.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 if the specified digital signature matches the specified hash.
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 signed hash.
- rgbSignature
- Byte[]
The digital signature to be verified.
Returns
true
if rgbSignature
matches the signature computed using the specified hash; otherwise, false
.
Exceptions
The rgbHash
or rgbSignature
parameters are null
.
Applies to
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.