Share via


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

 

Performs a Public Key Cryptography Standards (PKCS) signature verification of a blob.

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

Syntax

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

Parameters

  • signature
    Type: System.Byte[]

    The 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

MessageCertificateX509 Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top