Opc.Ua.Core
GetAsymmetricHeaderSize(String,X509Certificate2) Method



Opc.Ua.Bindings Namespace > UaSCUaBinaryChannel Class > GetAsymmetricHeaderSize Method : GetAsymmetricHeaderSize(String,X509Certificate2) Method
Calculates the size of the asymmetric security header.
Syntax
'Declaration
 
Protected Overloads Function GetAsymmetricHeaderSize( _
   ByVal securityPolicyUri As String, _
   ByVal senderCertificate As X509Certificate2 _
) As Integer
'Usage
 
Dim instance As UaSCUaBinaryChannel
Dim securityPolicyUri As String
Dim senderCertificate As X509Certificate2
Dim value As Integer
 
value = instance.GetAsymmetricHeaderSize(securityPolicyUri, senderCertificate)
protected int GetAsymmetricHeaderSize( 
   string securityPolicyUri,
   X509Certificate2 senderCertificate
)
protected:
int GetAsymmetricHeaderSize( 
   String^ securityPolicyUri,
   X509Certificate2^ senderCertificate
) 

Parameters

securityPolicyUri
senderCertificate
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

UaSCUaBinaryChannel Class
UaSCUaBinaryChannel Members
Overload List