OPC Studio User's Guide and Reference
SetNewPassword Property (UACreateCertificateArguments)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application Namespace > UACreateCertificateArguments Class : SetNewPassword Property
Set new private key password for the created certificate.
Syntax
'Declaration
 
<DefaultValueAttribute(False)>
Public Property SetNewPassword As Boolean
'Usage
 
Dim instance As UACreateCertificateArguments
Dim value As Boolean
 
instance.SetNewPassword = value
 
value = instance.SetNewPassword
[DefaultValue(false)]
public bool SetNewPassword {get; set;}
[DefaultValue(false)]
public:
property bool SetNewPassword {
   bool get();
   void set (    bool value);
}
Remarks

The NewPrivateKeyPassword only has effect when SetNewPassword is true. In such case, the newly created certificate will be protected with the password given by NewPrivateKeyPassword, and this password will also become the currently configured password in the application. When SetNewPassword is false, the newly created certificate will be protected with the password currently configured in the application, if any.

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