[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Verifies the signature using the certificate specified in the properties. Note: the byte signature is reversed to support interop in native C++ byte signing

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
bool 
VerifySignature(
	
byte[] 
signature,
	
byte[] 
data,
	
string 
hashAlgorithmName
)
Public 
Function 
VerifySignature ( _
	
signature 
As 
Byte(), _
	
data 
As 
Byte(), _
	
hashAlgorithmName 
As 
String _
) 
As 
Boolean
public:
bool 
VerifySignature(
	
array<
unsigned char>^ 
signature, 
	
array<
unsigned char>^ 
data, 
	
String^ 
hashAlgorithmName
)

Parameters

signature
array< Byte > [] () [] []
The digitial signature to verify
data
array< Byte > [] () [] []
The data that the signature is verified against
hashAlgorithmName
String
Hash algorithm to use for verifying signature

Return Value

true if signature is valid, false otherwise

See Also