Opc.Ua.Core
Decrypt Method (SecurityPolicies)



Opc.Ua Namespace > SecurityPolicies Class : Decrypt Method
Decrypts the CipherText using the SecurityPolicyUri and returns the PlainText.
Syntax
'Declaration
 
Public Shared Function Decrypt( _
   ByVal certificate As X509Certificate2, _
   ByVal securityPolicyUri As String, _
   ByVal dataToDecrypt As EncryptedData _
) As Byte()
'Usage
 
Dim certificate As X509Certificate2
Dim securityPolicyUri As String
Dim dataToDecrypt As EncryptedData
Dim value() As Byte
 
value = SecurityPolicies.Decrypt(certificate, securityPolicyUri, dataToDecrypt)

Parameters

certificate
securityPolicyUri
dataToDecrypt
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