Udostępnij za pośrednictwem


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

 

Verifies the signature by 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

public override bool VerifySignature(
    byte[] signature,
    byte[] data
)
public:
virtual bool VerifySignature(
    array<unsigned char>^ signature,
    array<unsigned char>^ data
) override
Public Overrides 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
MessageCertificateX509 Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top