MessageCertificate.VerifySignature Method (Byte[], String)
Verifies a signature by using the certificate.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public virtual bool VerifySignature(
byte[] signature,
string data
)
public:
virtual bool VerifySignature(
array<unsigned char>^ signature,
String^ data
)
Public Overridable Function VerifySignature (
signature As Byte(),
data As String
) As Boolean
Parameters
signature
Type: System.Byte[]The digital signature to verify.
data
Type: System.StringThe data against which the signature is verified.
Return Value
Type: System.Boolean
True if the signature is valid; otherwise, false.
See Also
VerifySignature Overload
MessageCertificate Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top