Partager via


MessageCertificate.VerifySignature Method (Byte[], Byte[])

 

Verifies a signature by using the certificate.

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

Syntax

public abstract bool VerifySignature(
    byte[] signature,
    byte[] data
)
public:
virtual bool VerifySignature(
    array<unsigned char>^ signature,
    array<unsigned char>^ data
) abstract
Public MustOverride Function VerifySignature (
    signature As Byte(),
    data As Byte()
) As Boolean

Parameters

  • signature
    Type: System.Byte[]

    The digital signature to verify.

  • data
    Type: System.Byte[]

    The 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