EasyUA Reference
Create(Byte[],Boolean) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > CertificateFactory Class > Create Method : Create(Byte[],Boolean) Method

encodedData
The encoded data.
useCache
if set to true the copy of the certificate in the cache is used.

Glossary Item Box

Creates a certificate from a buffer with DER encoded certificate.

Syntax

Visual Basic (Usage)Copy Code
Dim encodedData() As Byte
Dim useCache As Boolean
Dim value As X509Certificate2
 
value = CertificateFactory.Create(encodedData, useCache)
C# 
public static X509Certificate2 Create( 
   byte[] encodedData,
   bool useCache
)

Parameters

encodedData
The encoded data.
useCache
if set to true the copy of the certificate in the cache is used.

Return Value

The certificate.

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.