OPC Studio User's Guide and Reference
PackCertificateTypeIds Property (IEasyUAClientServerApplication)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application Namespace > IEasyUAClientServerApplication Interface : PackCertificateTypeIds Property
The certificate type Ids of the certificates in the application certificate pack.
Syntax
'Declaration
 
<JetBrains.Annotations.ItemNotNullAttribute()>
<JetBrains.Annotations.NotNullAttribute()>
ReadOnly Property PackCertificateTypeIds As UANodeIdCollection
'Usage
 
Dim instance As IEasyUAClientServerApplication
Dim value As UANodeIdCollection
 
value = instance.PackCertificateTypeIds
[JetBrains.Annotations.ItemNotNull()]
[JetBrains.Annotations.NotNull()]
UANodeIdCollection PackCertificateTypeIds {get;}
[JetBrains.Annotations.ItemNotNull()]
[JetBrains.Annotations.NotNull()]
property UANodeIdCollection^ PackCertificateTypeIds {
   UANodeIdCollection^ get();
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The individual elements of the property value cannot be null (Nothing in Visual Basic).

Remarks

This value is derived from the OPC UA security policies the application is configured to support (OpcLabs.EasyOpc.UA.Administration.IUAReadOnlyApplicationManifest.SecurityPolicyUriStrings) in the application manifest.

The actual number of certificates in the application certificate pack may be lower than the count of PackCertificateTypeIds. This is because multiple certificate types may end up using the same certificate. For example, OpcLabs.EasyOpc.UA.Gds.AddressSpace.UACertificateTypeIds.RsaMinApplicationCertificateType specifies an application certificate with RSA key size 1024 or 2048 bits, and OpcLabs.EasyOpc.UA.Gds.AddressSpace.UACertificateTypeIds.RsaSha256ApplicationCertificateType specifies an application certificate with RSA key size 2048, 3072 or 4096 bits. A single certificate with RSA key size of 2048 bits can therefore be used with both these certificate types.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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