OPC Studio User's Guide and Reference
FilePrivateKeyPassword Property (UACertificateRequestParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application Namespace > UACertificateRequestParameters Class : FilePrivateKeyPassword Property
Password needed to access the private key stored in the file.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Property FilePrivateKeyPassword As String
'Usage
 
Dim instance As UACertificateRequestParameters
Dim value As String
 
instance.FilePrivateKeyPassword = value
 
value = instance.FilePrivateKeyPassword
[NotNull()]
public string FilePrivateKeyPassword {get; set;}
[NotNull()]
public:
property String^ FilePrivateKeyPassword {
   String^ get();
   void set (    String^ value);
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The default value of this property is "" (String.Empty).

Remarks

This password is used to retrieve the private key from the file specified by the PrivateKeyFileName property.

CAUTION: When this object is serialized, the password is persisted with it, in the plain text.

Requirements

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

See Also