QuickOPC User's Guide and Reference
GetPrivateKeyPasswordStrength Method (_EasyUAApplication)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application.ComTypes Namespace > _EasyUAApplication Interface : GetPrivateKeyPasswordStrength Method
The sub-id of the certificate. Normally an empty string.
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 _EasyUAApplication
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.

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.
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