Opc.Ua.Core
FindIssuerCABySerialNumberAsync Method



Opc.Ua Namespace > X509Utils Class : FindIssuerCABySerialNumberAsync Method
Get the certificate by issuer and serial number.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(Opc.Ua.X509Utils/d__19)> 
Public Shared Function FindIssuerCABySerialNumberAsync( _ 
   ByVal store As ICertificateStore, _ 
   ByVal issuer As X500DistinguishedName, _ 
   ByVal serialnumber As String _ 
) As Task(Of X509Certificate2)
'Usage
 
Dim store As ICertificateStore
Dim issuer As X500DistinguishedName
Dim serialnumber As String
Dim value As Task(Of X509Certificate2)
 
value = X509Utils.FindIssuerCABySerialNumberAsync(store, issuer, serialnumber)
[AsyncStateMachine(Opc.Ua.X509Utils/d__19)] 
public static Task<X509Certificate2> FindIssuerCABySerialNumberAsync( 
   ICertificateStore store, 
   X500DistinguishedName issuer, 
   string serialnumber 
)
[AsyncStateMachine(Opc.Ua.X509Utils/d__19)] 
public: 
static Task<X509Certificate2^>^ FindIssuerCABySerialNumberAsync( 
   ICertificateStore^ store, 
   X500DistinguishedName^ issuer, 
   String^ serialnumber 
) 

Parameters

store
issuer
serialnumber
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

X509Utils Class
X509Utils Members