QuickOPC User's Guide and Reference
MinimumKeySize Property (CertificateGenerationParameters)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security Namespace > CertificateGenerationParameters Class : MinimumKeySize Property
Minimum key size of the generated certificate (in bits).
Syntax
'Declaration
 
<DataMemberAttribute()>
<DefaultValueAttribute(0)>
<WellKnownValueAttribute(0)>
Public Property MinimumKeySize As Integer
'Usage
 
Dim instance As CertificateGenerationParameters
Dim value As Integer
 
instance.MinimumKeySize = value
 
value = instance.MinimumKeySize
[DataMember()]
[DefaultValue(0)]
[WellKnownValue(0)]
public int MinimumKeySize {get; set;}
[DataMember()]
[DefaultValue(0)]
[WellKnownValue(0)]
public:
property int MinimumKeySize {
   int get();
   void set (    int value);
}
Remarks

The underlying generation certificate mechanism will choose a key size that is greater or equal to MinimumKeySize. The default value of MinimumKeySize, which is zero, causes the certificate generation mechanism to choose the default key size.

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