QuickOPC User's Guide and Reference
GetInstanceCertificatePrivateKey Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application Namespace > AbstractEasyUAClientApplication Class : GetInstanceCertificatePrivateKey Method
Infrastructure. Get the private key of the application's instance certificate.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Protected MustOverride Function GetInstanceCertificatePrivateKey() As IPkiCertificate
'Usage
 
Dim instance As AbstractEasyUAClientApplication
Dim value As IPkiCertificate
 
value = instance.GetInstanceCertificatePrivateKey()
[CanBeNull()]
protected abstract IPkiCertificate GetInstanceCertificatePrivateKey()
[CanBeNull()]
protected:
abstract IPkiCertificate^ GetInstanceCertificatePrivateKey(); 

Return Value

The certificate representing the private key of the application's instance certificate.
Exceptions
ExceptionDescription
The OPC UA operation has failed.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012 R2, Windows Server 2016; .NET Core, .NET 6: Linux, macOS, Microsoft Windows

See Also