'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Shared Function WithX509CertificateIdentity( _ ByVal endpointDescriptor As UAEndpointDescriptor, _ ByVal fileName As String, _ ByVal password As String _ ) As UAEndpointDescriptor
'Usage
Dim endpointDescriptor As UAEndpointDescriptor Dim fileName As String Dim password As String Dim value As UAEndpointDescriptor value = UAEndpointDescriptorExtension.WithX509CertificateIdentity(endpointDescriptor, fileName, password)
[Extension()] [NotNull()] public static UAEndpointDescriptor WithX509CertificateIdentity( UAEndpointDescriptor endpointDescriptor, string fileName, string password )
[Extension()] [NotNull()] public: static UAEndpointDescriptor^ WithX509CertificateIdentity( UAEndpointDescriptor^ endpointDescriptor, String^ fileName, String^ password )
Parameters
- endpointDescriptor
- The OPC UA endpoint descriptor.
- fileName
- The name of a certificate file.
- password
- The password required to access the X.509 certificate data.
Return Value
Returns a clone of endpointDescriptor, with the username identity loaded from the file given by fileName and optionally protected by a password password.