OPC Studio User's Guide and Reference
GetPrivateKeyPasswordStrength Method (_EasyUAClientServerApplication)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application.ComTypes Namespace > _EasyUAClientServerApplication Interface : GetPrivateKeyPasswordStrength Method
The sub-id of the certificate. Normally an empty string.

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

Determines strength of the password that is configured for use with the given certificate.
Syntax
'Declaration
 
Function GetPrivateKeyPasswordStrength( _
   ByVal certificateSubId As String _
) As Single
'Usage
 
Dim instance As _EasyUAClientServerApplication
Dim certificateSubId As String
Dim value As Single
 
value = instance.GetPrivateKeyPasswordStrength(certificateSubId)
float GetPrivateKeyPasswordStrength( 
   string certificateSubId
)
float GetPrivateKeyPasswordStrength( 
   String^ certificateSubId
) 

Parameters

certificateSubId
The sub-id of the certificate. Normally an empty string.

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

Return Value

Returns zero when there is no password configured. Returns a positive number indicating the relative strength of the password otherwise.
Exceptions
ExceptionDescription
An error has occurred during application execution.
Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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