[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 
override 
bool 
VerifySignature(
	
byte[] 
signature,
	
byte[] 
data
)
Public 
Overrides 
Function 
VerifySignature ( _
	
signature 
As 
Byte(), _
	
data 
As 
Byte() _
) 
As 
Boolean
public:
virtual 
bool 
VerifySignature(
	
array<
unsigned char>^ 
signature, 
	
array<
unsigned char>^ 
data
) 
override

Parameters

signature
array< Byte > [] () [] []
The digitial signature to verify
data
array< Byte > [] () [] []
The data that the signature is verified against

Return Value

true if signature is valid, false otherwise

See Also