Opc.Ua.Core
Sign Method (SecurityPolicies)



Opc.Ua Namespace > SecurityPolicies Class : Sign Method
Signs the data using the SecurityPolicyUri and returns the signature.
Syntax
'Declaration
 
Public Shared Function Sign( _
   ByVal certificate As X509Certificate2, _
   ByVal securityPolicyUri As String, _
   ByVal dataToSign() As Byte _
) As SignatureData
'Usage
 
Dim certificate As X509Certificate2
Dim securityPolicyUri As String
Dim dataToSign() As Byte
Dim value As SignatureData
 
value = SecurityPolicies.Sign(certificate, securityPolicyUri, dataToSign)
public static SignatureData Sign( 
   X509Certificate2 certificate,
   string securityPolicyUri,
   byte[] dataToSign
)

Parameters

certificate
securityPolicyUri
dataToSign
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SecurityPolicies Class
SecurityPolicies Members