OPC Studio User's Guide and Reference
UAExportCertificateArguments Constructor(String,PkiFileFormat,String)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application Namespace > UAExportCertificateArguments Class > UAExportCertificateArguments Constructor : UAExportCertificateArguments Constructor(String,PkiFileFormat,String)
The name of the file to which the certificate will be exported.

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

File format in which the certificate will be exported.
The new password needed to access the private key (optional).

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

Initializes a new instance of the class, specifying the file path and PKI file format. The private key will be exported, with optionally specified password.
Syntax
'Declaration
 
Public Function New( _
   ByVal filePath As String, _
   ByVal pkiFileFormat As PkiFileFormat, _
   ByVal newPrivateKeyPassword As String _
)
'Usage
 
Dim filePath As String
Dim pkiFileFormat As PkiFileFormat
Dim newPrivateKeyPassword As String
 
Dim instance As New UAExportCertificateArguments(filePath, pkiFileFormat, newPrivateKeyPassword)
public UAExportCertificateArguments( 
   string filePath,
   PkiFileFormat pkiFileFormat,
   string newPrivateKeyPassword
)
public:
UAExportCertificateArguments( 
   String^ filePath,
   PkiFileFormat pkiFileFormat,
   String^ newPrivateKeyPassword
)

Parameters

filePath
The name of the file to which the certificate will be exported.

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

pkiFileFormat
File format in which the certificate will be exported.
newPrivateKeyPassword
The new password needed to access the private key (optional).

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

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