Connectivity Software User's Guide and Reference
CryptVerifySignature Method



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.Licensing Namespace > Crypto.NativeMethods Class : CryptVerifySignature 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 CryptVerifySignature( _
   ByVal hHash As IntPtr, _
   ByVal pbSignature() As Byte, _
   ByVal dwSigLen As Integer, _
   ByVal hPubKey As IntPtr, _
   ByVal sDescription As String, _
   ByVal dwFlags As Integer _
) As Boolean
'Usage
 
Dim hHash As IntPtr
Dim pbSignature() As Byte
Dim dwSigLen As Integer
Dim hPubKey As IntPtr
Dim sDescription As String
Dim dwFlags As Integer
Dim value As Boolean
 
value = Crypto.NativeMethods.CryptVerifySignature(hHash, pbSignature, dwSigLen, hPubKey, sDescription, dwFlags)
public static bool CryptVerifySignature( 
   IntPtr hHash,
   byte[] pbSignature,
   int dwSigLen,
   IntPtr hPubKey,
   string sDescription,
   int dwFlags
)

Parameters

hHash
pbSignature

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

dwSigLen
hPubKey
sDescription

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

dwFlags
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