Connectivity Software User's Guide and Reference
CryptVerifyMessageSignature Method



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.Licensing Namespace > Crypto.NativeMethods Class : CryptVerifyMessageSignature Method

The value of this parameter cannot be null (Nothing in Visual Basic).

The value of this parameter can be null (Nothing in Visual Basic).

Syntax
'Declaration
 
Public Shared Function CryptVerifyMessageSignature( _
   ByRef pVerifyPara As Crypto.CRYPT_VERIFY_MESSAGE_PARA, _
   ByVal dwSignerIndex As Integer, _
   ByVal pbSignedBlob() As Byte, _
   ByVal cbSignedBlob As Integer, _
   ByVal pbDecoded() As Byte, _
   ByRef pcbDecoded As Integer, _
   ByVal ppSignerCert As IntPtr _
) As Boolean
'Usage
 
Dim pVerifyPara As Crypto.CRYPT_VERIFY_MESSAGE_PARA
Dim dwSignerIndex As Integer
Dim pbSignedBlob() As Byte
Dim cbSignedBlob As Integer
Dim pbDecoded() As Byte
Dim pcbDecoded As Integer
Dim ppSignerCert As IntPtr
Dim value As Boolean
 
value = Crypto.NativeMethods.CryptVerifyMessageSignature(pVerifyPara, dwSignerIndex, pbSignedBlob, cbSignedBlob, pbDecoded, pcbDecoded, ppSignerCert)

Parameters

pVerifyPara
dwSignerIndex
pbSignedBlob

The value of this parameter cannot be null (Nothing in Visual Basic).

cbSignedBlob
pbDecoded

The value of this parameter can be null (Nothing in Visual Basic).

pcbDecoded
ppSignerCert
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also