MessageCertificate.VerifySignature Method (Byte[], String, Encoding)
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,
Encoding encoding
)
public:
virtual bool VerifySignature(
array<unsigned char>^ signature,
String^ data,
Encoding^ encoding
)
Public Overridable Function VerifySignature (
signature As Byte(),
data As String,
encoding As Encoding
) As Boolean
Parameters
signature
Type: System.Byte[]The digital signature to verify.
data
Type: System.StringThe data against which the signature is verified.
encoding
Type: System.Text.EncodingThe string encoding to use.
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