OPC Studio User's Guide and Reference
CreateCertificate Method (_X509CertificateTokenInfo)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.IdentityModel.User.ComTypes Namespace > _X509CertificateTokenInfo Interface : CreateCertificate Method
Creates an X.509 certificate from the information configured in the token info.
Syntax
'Declaration
 
<NotNullAttribute()>
Function CreateCertificate() As PkiCertificate
'Usage
 
Dim instance As _X509CertificateTokenInfo
Dim value As PkiCertificate
 
value = instance.CreateCertificate()
[NotNull()]
PkiCertificate CreateCertificate()
[NotNull()]
PkiCertificate^ CreateCertificate(); 

Return Value

Returns the certificate created based on this X.509 certificate token info.

This method never returns null (Nothing in Visual Basic).

Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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