DSACng.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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.