OPC Studio User's Guide and Reference
PrivateKey Property (_PkiCertificate)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates.ComTypes Namespace > _PkiCertificate Interface : PrivateKey Property
Syntax
'Declaration
 
<CanBeNullAttribute()>
Property PrivateKey As AsymmetricAlgorithm
'Usage
 
Dim instance As _PkiCertificate
Dim value As AsymmetricAlgorithm
 
instance.PrivateKey = value
 
value = instance.PrivateKey
[CanBeNull()]
AsymmetricAlgorithm PrivateKey {get; set;}
[CanBeNull()]
property AsymmetricAlgorithm^ PrivateKey {
   AsymmetricAlgorithm^ get();
   void set (    AsymmetricAlgorithm^ value);
}

Property Value

This value of this property can be 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