Opc.Ua.Core
LoadPrivateKeyEx Method



Opc.Ua Namespace > CertificateIdentifier Class : LoadPrivateKeyEx Method
Loads the private key for the certificate with an optional password.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(Opc.Ua.CertificateIdentifier/d__50)> 
Public Function LoadPrivateKeyEx( _ 
   ByVal passwordProvider As ICertificatePasswordProvider _ 
) As Task(Of X509Certificate2)
'Usage
 
Dim instance As CertificateIdentifier
Dim passwordProvider As ICertificatePasswordProvider
Dim value As Task(Of X509Certificate2)
 
value = instance.LoadPrivateKeyEx(passwordProvider)
[AsyncStateMachine(Opc.Ua.CertificateIdentifier/d__50)] 
public Task<X509Certificate2> LoadPrivateKeyEx( 
   ICertificatePasswordProvider passwordProvider 
)
[AsyncStateMachine(Opc.Ua.CertificateIdentifier/d__50)] 
public: 
Task<X509Certificate2^>^ LoadPrivateKeyEx( 
   ICertificatePasswordProvider^ passwordProvider 
) 

Parameters

passwordProvider
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

CertificateIdentifier Class
CertificateIdentifier Members