EasyUA Reference
Find(X509Certificate2Collection,String,String,Boolean) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > CertificateIdentifier Class > Find Method : Find(X509Certificate2Collection,String,String,Boolean) Method

collection
The collection.
thumbprint
The thumbprint of the certificate.
subjectName
Subject name of the certificate.
needPrivateKey
if set to true [need private key].

Glossary Item Box

Finds a certificate in the specified collection.

Syntax

Visual Basic (Usage)Copy Code
Dim collection As X509Certificate2Collection
Dim thumbprint As String
Dim subjectName As String
Dim needPrivateKey As Boolean
Dim value As X509Certificate2
 
value = CertificateIdentifier.Find(collection, thumbprint, subjectName, needPrivateKey)

Parameters

collection
The collection.
thumbprint
The thumbprint of the certificate.
subjectName
Subject name of the certificate.
needPrivateKey
if set to true [need private key].

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.